MCPcopy
hub / github.com/dask/dask / copy

Method copy

dask/highlevelgraph.py:632–637  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

630 return reverse_dict(self.dependencies)
631
632 def copy(self) -> HighLevelGraph:
633 return HighLevelGraph(
634 ensure_dict(self.layers, copy=True),
635 ensure_dict(self.dependencies, copy=True),
636 self.key_dependencies.copy(),
637 )
638
639 @classmethod
640 def merge(cls, *graphs: Graph) -> HighLevelGraph:

Callers 3

test_copyFunction · 0.95
__init__Method · 0.45
cullMethod · 0.45

Calls 2

ensure_dictFunction · 0.90
HighLevelGraphClass · 0.85

Tested by 1

test_copyFunction · 0.76