MCPcopy
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
219def _body_or_str(obj: Response | str | bytes) -> str: ...
220
221
222@overload

Callers 3

test_body_or_strMethod · 0.90
xmliterFunction · 0.85
csviterFunction · 0.85

Calls 1

joinMethod · 0.45

Tested by 1

test_body_or_strMethod · 0.72