Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pythonprofilers/memory_profiler
/ main_legacy
Function
main_legacy
test/test_async.py:18–20 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
16
res = await asyncio.gather(task)
17
18
async
def
main_legacy():
19
future = asyncio.ensure_future(my_func())
20
res = await asyncio.gather(future)
21
22
if
__name__ ==
'__main__'
:
23
if
sys.version_info >= (3, 7):
Callers
1
test_async.py
File · 0.85
Calls
1
my_func
Function · 0.70
Tested by
no test coverage detected