From bce8c570ab9d1217d7394e58b8cd0d7062f01355 Mon Sep 17 00:00:00 2001 From: Deepyaman Datta Date: Wed, 9 Oct 2024 14:54:49 -0600 Subject: [PATCH] docs(datasets): add docstring for the `connection` Signed-off-by: Deepyaman Datta --- kedro-datasets/kedro_datasets/ibis/file_dataset.py | 2 ++ kedro-datasets/kedro_datasets/ibis/table_dataset.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/kedro-datasets/kedro_datasets/ibis/file_dataset.py b/kedro-datasets/kedro_datasets/ibis/file_dataset.py index 050fe8b9d..0f35505a9 100644 --- a/kedro-datasets/kedro_datasets/ibis/file_dataset.py +++ b/kedro-datasets/kedro_datasets/ibis/file_dataset.py @@ -132,6 +132,8 @@ def __init__( # noqa: PLR0913 @property def connection(self) -> BaseBackend: + """The ``Backend`` instance for the connection configuration.""" + def hashable(value): """Return a hashable key for a potentially-nested object.""" if isinstance(value, dict): diff --git a/kedro-datasets/kedro_datasets/ibis/table_dataset.py b/kedro-datasets/kedro_datasets/ibis/table_dataset.py index a7afbe270..7550e6266 100644 --- a/kedro-datasets/kedro_datasets/ibis/table_dataset.py +++ b/kedro-datasets/kedro_datasets/ibis/table_dataset.py @@ -142,6 +142,8 @@ def __init__( # noqa: PLR0913 @property def connection(self) -> BaseBackend: + """The ``Backend`` instance for the connection configuration.""" + def hashable(value): """Return a hashable key for a potentially-nested object.""" if isinstance(value, dict):