Skip to content
Discussion options

You must be logged in to vote

Hi @kedarsp-informa you shouldn't use asyncio.run in add_node we have native support for async functions in nodes. Using asyncio.run would create a new event loop for each node, which is very inefficient and can cause issues such as cancellation not propagating from graph to node etc

Replies: 16 comments 24 replies

Comment options

You must be logged in to vote
7 replies
@vikyw89
Comment options

@vikyw89
Comment options

@vikyw89
Comment options

@vikyw89
Comment options

@OnlyBrinTy
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by nfcampos
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ehsanahmadkhan525
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@apthagowda97
Comment options

Comment options

You must be logged in to vote
1 reply
@ldnvnbl
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ehsanahmadkhan525
Comment options

Comment options

You must be logged in to vote
4 replies
@hinthornw
Comment options

@apthagowda97
Comment options

@yesh-harmonic
Comment options

@ldnvnbl
Comment options

Comment options

You must be logged in to vote
4 replies
@shuaiqidezhong
Comment options

@LastMonopoly
Comment options

@GaryFail
Comment options

@shuaiqidezhong
Comment options

Comment options

You must be logged in to vote
5 replies
@GaryFail
Comment options

@jeremySrgt
Comment options

@GaryFail
Comment options

@gcalabria
Comment options

@GaryFail
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet