Skip to content

Commit

Permalink
Made KedroDataCatalog subclass from CatalogProtocol
Browse files Browse the repository at this point in the history
Signed-off-by: Elena Khaustova <[email protected]>
  • Loading branch information
ElenaKhaustova committed Sep 23, 2024
1 parent 44c576e commit 6d5f094
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kedro/io/kedro_data_catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
from kedro.io.core import (
AbstractDataset,
AbstractVersionedDataset,
CatalogProtocol,
DatasetAlreadyExistsError,
DatasetError,
DatasetNotFoundError,
Expand All @@ -27,7 +28,7 @@
from kedro.utils import _format_rich, _has_rich_handler


class KedroDataCatalog:
class KedroDataCatalog(CatalogProtocol):
def __init__(
self,
datasets: dict[str, AbstractDataset] | None = None,
Expand Down

0 comments on commit 6d5f094

Please sign in to comment.