get_root_node function and RuntimeError: This event loop is already running #1331
Unanswered
MahshadValipour
asked this question in
Q&A
Replies: 1 comment
-
I also tried:
though I got Timeouterror, i.e., please see below:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need to get access to all the nodes and their corresponding nodeIDs, it seems that the get_root_node function is the way to go, though the following script errors, i.e., RuntimeError: This event loop is already running.
I also tried to change the last section to only async.run(main()), as well as follows:
yet received the same error.
Would greatly appreciate any help/ suggestions.
Best Regards,
Mahshad
Beta Was this translation helpful? Give feedback.
All reactions