MCPcopy
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_messagesMethod · 0.45
test_get_imagesMethod · 0.45
test_copyMethod · 0.45
test_fetchMethod · 0.45
setup_methodMethod · 0.45
test_copyMethod · 0.45
test_copyMethod · 0.45
test_copyMethod · 0.45
test_copyMethod · 0.45

Calls

no outgoing calls

Tested by 15

test_skip_messagesMethod · 0.36
test_get_imagesMethod · 0.36
test_copyMethod · 0.36
test_fetchMethod · 0.36
setup_methodMethod · 0.36
test_copyMethod · 0.36
test_copyMethod · 0.36
test_copyMethod · 0.36
test_copyMethod · 0.36
test_copyMethod · 0.36