Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/scrapy/scrapy
/ _body_or_str
Function
_body_or_str
scrapy/utils/iterators.py:219–219 ·
view source on GitHub ↗
(obj: Response | str | bytes)
Source
from the content-addressed store, hash-verified
217
218
@overload
219
def
_body_or_str(obj: Response | str | bytes) -> str: ...
220
221
222
@overload
Callers
3
test_body_or_str
Method · 0.90
xmliter
Function · 0.85
csviter
Function · 0.85
Calls
1
join
Method · 0.45
Tested by
1
test_body_or_str
Method · 0.72