Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ScrapeGraphAI/Scrapegraph-ai
/ NonDeepcopyable
Class
NonDeepcopyable
tests/utils/copy_utils_test.py:18–23 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
16
17
18
class
NonDeepcopyable:
19
def
__init__(self, value):
20
self.value = value
21
22
def
__deepcopy__(self, memo):
23
raise
TypeError(
"Forcing shallow copy fallback"
)
24
25
26
class
WithoutDict:
Callers
1
test_shallow_copy_fallback
Function · 0.85
Calls
no outgoing calls
Tested by
1
test_shallow_copy_fallback
Function · 0.68