You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we initiate SuiAsynchClient before running the main event loop or in different task, it raised the nested event loop error due to asyncio.get_event_loop() and loop.run_until_complete() method being used from asyncio. The code I've mentioned is used in
Using the synchronous version of self_build_api_descriptors() rather than loop.run_until_complete() will fix this issue as the risk of creation of multiple loops will be gone. Also the get_event_loop() method is deprecated too.
The text was updated successfully, but these errors were encountered:
If we initiate
SuiAsynchClient
before running the main event loop or in different task, it raised the nested event loop error due toasyncio.get_event_loop()
andloop.run_until_complete()
method being used fromasyncio
. The code I've mentioned is used inUsing the synchronous version of
self_build_api_descriptors()
rather thanloop.run_until_complete()
will fix this issue as the risk of creation of multiple loops will be gone. Also theget_event_loop()
method is deprecated too.The text was updated successfully, but these errors were encountered: