MCPcopy Create free account
hub / github.com/dask/dask / __copy__

Method __copy__

dask/highlevelgraph.py:276–280  ·  view source on GitHub ↗

Default shallow copy implementation

(self)

Source from the content-addressed store, hash-verified

274 return MaterializedLayer(dsk_new), bound
275
276 def __copy__(self):
277 """Default shallow copy implementation"""
278 obj = type(self).__new__(self.__class__)
279 obj.__dict__.update(self.__dict__)
280 return obj
281
282 def _repr_html_(self, layer_index="", highlevelgraph_key="", dependencies=()):
283 if highlevelgraph_key != "":

Callers

nothing calls this directly

Calls 1

__new__Method · 0.45

Tested by

no test coverage detected