MCPcopy
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
18class 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
26class WithoutDict:

Callers 1

Calls

no outgoing calls

Tested by 1