MCPcopy Index your code
hub / github.com/pythongosssss/ComfyUI-Custom-Scripts / get_http_session

Function get_http_session

pysssss.py:186–188  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

184
185
186def get_http_session():
187 loop = get_async_loop()
188 return aiohttp.ClientSession(loop=loop)
189
190
191async def download(url, stream, update_callback=None, session=None):

Callers 1

downloadFunction · 0.85

Calls 1

get_async_loopFunction · 0.85

Tested by

no test coverage detected