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

Method __repr__

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

Source from the content-addressed store, hash-verified

848 )
849
850 def __repr__(self) -> str:
851 representation = f"{type(self).__name__} with {len(self.layers)} layers.\n"
852 representation += f"<{self.__class__.__module__}.{self.__class__.__name__} object at {hex(id(self))}>\n"
853 for i, layerkey in enumerate(self._toposort_layers()):
854 representation += f" {i}. {layerkey}\n"
855 return representation
856
857 def _repr_html_(self) -> str:
858 return get_template("highlevelgraph.html.j2").render(

Callers

nothing calls this directly

Calls 1

_toposort_layersMethod · 0.95

Tested by

no test coverage detected