Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pyscript/pyscript
/ text
Method
text
core/src/stdlib/pyscript/fetch.py:145–147 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
143
return
await response.json()
144
145
async
def
text(self):
146
response = await self._get_response()
147
return
await response.text()
148
149
150
def
fetch(url, **options):
Callers
12
get
Function · 0.45
resolve
Function · 0.45
3rd-party.cjs
File · 0.45
getText
Function · 0.45
text
Method · 0.45
execute
Function · 0.45
init
Function · 0.45
js_tests.spec.js
File · 0.45
test_fetch_text
Function · 0.45
test_fetch_text_direct
Function · 0.45
test_fetch_multiple_data_extractions
Function · 0.45
test_fetch_error_response_with_text
Function · 0.45
Calls
1
_get_response
Method · 0.95
Tested by
4
test_fetch_text
Function · 0.36
test_fetch_text_direct
Function · 0.36
test_fetch_multiple_data_extractions
Function · 0.36
test_fetch_error_response_with_text
Function · 0.36