MCPcopy 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
150def fetch(url, **options):

Callers 12

getFunction · 0.45
resolveFunction · 0.45
3rd-party.cjsFile · 0.45
getTextFunction · 0.45
textMethod · 0.45
executeFunction · 0.45
initFunction · 0.45
js_tests.spec.jsFile · 0.45
test_fetch_textFunction · 0.45
test_fetch_text_directFunction · 0.45

Calls 1

_get_responseMethod · 0.95

Tested by 4

test_fetch_textFunction · 0.36
test_fetch_text_directFunction · 0.36