MCPcopy Index your code
hub / github.com/pyscript/pyscript / blob

Method blob

core/src/stdlib/pyscript/fetch.py:59–65  ·  view source on GitHub ↗

Get response body as a JavaScript Blob object. Returns the raw JS Blob for use with other JS APIs.

(self)

Source from the content-addressed store, hash-verified

57 return memoryview(as_bytearray(buffer))
58
59 async def blob(self):
60 """
61 Get response body as a JavaScript Blob object.
62
63 Returns the raw JS Blob for use with other JS APIs.
64 """
65 return await self._response.blob()
66
67 async def bytearray(self):
68 """

Callers

nothing calls this directly

Calls 1

blobMethod · 0.45

Tested by

no test coverage detected