(self)
| 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( |
nothing calls this directly
no test coverage detected