MCPcopy
hub / github.com/scrapy/scrapy / items

Method items

scrapy/http/headers.py:103–104  ·  scrapy/http/headers.py::Headers.items
(self)

Source from the content-addressed store, hash-verified

101 self[key] = lst
102
103 def items(self) -> Iterable[tuple[bytes, list[bytes]]]: class="cm"># type: ignore[override]
104 return ((k, self.getlist(k)) for k in self.keys())
105
106 def values(self) -> list[bytes | None]: class="cm"># type: ignore[override]
107 return [

Callers 15

to_unicode_dictMethod · 0.95
to_tuple_listMethod · 0.95
test_iterablesMethod · 0.95
test_headersMethod · 0.95
_export_xml_fieldMethod · 0.80
_serialize_itemMethod · 0.80
_update_curprioMethod · 0.80
closeMethod · 0.80
__init__Method · 0.80
closeMethod · 0.80

Calls 2

getlistMethod · 0.95
keysMethod · 0.80

Tested by 15

test_iterablesMethod · 0.76
test_headersMethod · 0.76
teardown_methodMethod · 0.64
checkMethod · 0.64
run_and_exportMethod · 0.64
assertExportedXmlMethod · 0.64
assertExportedPickleMethod · 0.64
assertExportedMarshalMethod · 0.64