Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pyscript/pyscript
/ bytearray
Method
bytearray
core/src/stdlib/pyscript/fetch.py:137–139 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
135
return
await response.blob()
136
137
async
def
bytearray(self):
138
response = await self._get_response()
139
return
await response.bytearray()
140
141
async
def
json(self):
142
response = await self._get_response()
Callers
2
test_fetch_bytearray
Function · 0.45
test_fetch_bytearray_direct
Function · 0.45
Calls
1
_get_response
Method · 0.95
Tested by
2
test_fetch_bytearray
Function · 0.36
test_fetch_bytearray_direct
Function · 0.36