Skip to content

Commit

Permalink
Added __repr__
Browse files Browse the repository at this point in the history
Signed-off-by: Elena Khaustova <ymax70rus@gmail.com>
  • Loading branch information
ElenaKhaustova committed Sep 16, 2024
1 parent c7699ec commit bcd2d37
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kedro/io/kedro_data_catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ def datasets(self, value: Any) -> None:
def config_resolver(self) -> CatalogConfigResolver:
return self._config_resolver

def __repr__(self) -> str:
return self._datasets.__repr__()

def __iter__(self) -> AbstractDataset:
yield from self._datasets.values()

Expand Down

0 comments on commit bcd2d37

Please sign in to comment.