MCPcopy
hub / github.com/TaskingAI/TaskingAI / download_image

Function download_image

backend/tests/api_services/image/image.py:24–27  ·  view source on GitHub ↗
(url: str)

Source from the content-addressed store, hash-verified

22
23
24async def download_image(url: str):
25 async with aiohttp.ClientSession() as session:
26 response = await session.get(url)
27 return ResponseWrapper(response.status, await response.read())

Callers 1

test_upload_imageMethod · 0.90

Calls 2

ResponseWrapperClass · 0.90
getMethod · 0.45

Tested by 1

test_upload_imageMethod · 0.72