We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a27e6a7 commit 5b5004aCopy full SHA for 5b5004a
pyatlan/utils.py
@@ -491,7 +491,7 @@ class PyAtlanThreadPoolExecutor(ThreadPoolExecutor):
491
client = AtlanClient()
492
493
async def fetch_asset():
494
- loop = asyncio.get_event_loop()
+ loop = asyncio.get_running_loop()
495
sdk_func = partial(
496
client.asset.get_by_guid, "ef1ffe2c-8fc9-433a-8cf8-b4583f2d2375", Table
497
)
@@ -518,6 +518,8 @@ def _fn():
518
var.set(value)
519
return fn(*args, **kwargs)
520
521
+ return super().submit(_fn)
522
+
523
524
class ExtendableEnumMeta(EnumMeta):
525
def __init__(cls, name, bases, namespace):
0 commit comments