From 56bdf973712b451555c85576ea7f297785b2bce8 Mon Sep 17 00:00:00 2001 From: Deepyaman Datta Date: Thu, 1 Aug 2024 10:55:01 -0600 Subject: [PATCH] Revert inconsistent changes from `_meth` to `meth` (#4051) Signed-off-by: Deepyaman Datta --- kedro/io/lambda_dataset.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kedro/io/lambda_dataset.py b/kedro/io/lambda_dataset.py index 126bef6632..9c6ee10498 100644 --- a/kedro/io/lambda_dataset.py +++ b/kedro/io/lambda_dataset.py @@ -49,7 +49,7 @@ def _to_str(func: Any) -> str | None: return descr - def load(self) -> Any: + def _load(self) -> Any: if not self.__load: raise DatasetError( "Cannot load data set. No 'load' function " @@ -57,7 +57,7 @@ def load(self) -> Any: ) return self.__load() - def save(self, data: Any) -> None: + def _save(self, data: Any) -> None: if not self.__save: raise DatasetError( "Cannot save to data set. No 'save' function "