Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/scrapy/scrapy
/ copy
Method
copy
scrapy/item.py:127–128 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
125
return
pformat(dict(self))
126
127
def
copy(self) -> Self:
128
return
self.__class__(self)
129
130
def
deepcopy(self) -> Self:
131
""
"Return a :func:`~copy.deepcopy` of this item."
""
Callers
15
__init__
Method · 0.45
test_skip_messages
Method · 0.45
test_get_images
Method · 0.45
test_copy
Method · 0.45
test_fetch
Method · 0.45
setup_method
Method · 0.45
assertExportedMultiple
Method · 0.45
test_copy
Method · 0.45
test_copy
Method · 0.45
test_copy
Method · 0.45
test_copy
Method · 0.45
test_copy_inherited_classes
Method · 0.45
Calls
no outgoing calls
Tested by
15
test_skip_messages
Method · 0.36
test_get_images
Method · 0.36
test_copy
Method · 0.36
test_fetch
Method · 0.36
setup_method
Method · 0.36
assertExportedMultiple
Method · 0.36
test_copy
Method · 0.36
test_copy
Method · 0.36
test_copy
Method · 0.36
test_copy
Method · 0.36
test_copy_inherited_classes
Method · 0.36
test_copy
Method · 0.36