MCPcopy Index your code
hub / github.com/fluentpython/example-code-2e / download_many

Function download_many

20-executors/getflags/flags_asyncio.py:34–35  ·  view source on GitHub ↗
(cc_list: list[str])

Source from the content-addressed store, hash-verified

32
33# tag::FLAGS_ASYNCIO_START[]
34def download_many(cc_list: list[str]) -> int: # <1>
35 return asyncio.run(supervisor(cc_list)) # <2>
36
37async def supervisor(cc_list: list[str]) -> int:
38 async with AsyncClient() as client: # <3>

Callers

nothing calls this directly

Calls 2

supervisorFunction · 0.70
runMethod · 0.45

Tested by

no test coverage detected