Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/clips/pattern
/ copy
Method
copy
test/test_graph.py:20–21 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
18
def
__init__(self, i):
19
self.i = i
20
def
copy(self):
21
return
MyObject(graph.deepcopy(self.i))
22
# Assert deep copy for different types.
23
for
o1 in (
24
None, True, False,
Callers
15
test_canvas.js
File · 0.45
test_copy
Method · 0.45
test_word_custom_tags
Method · 0.45
test_document
Method · 0.45
test_document_vector
Method · 0.45
test_graph
Method · 0.45
test_graph_nodes
Method · 0.45
test_graph_edges
Method · 0.45
test_cache
Method · 0.45
test_paths
Method · 0.45
test_prune
Method · 0.45
test_fringe
Method · 0.45
Calls
1
MyObject
Class · 0.85
Tested by
no test coverage detected