Skip to content

Commit

Permalink
Revert inconsistent changes from _meth to meth (#4051)
Browse files Browse the repository at this point in the history
Signed-off-by: Deepyaman Datta <[email protected]>
  • Loading branch information
deepyaman authored Aug 1, 2024
1 parent 276d423 commit 56bdf97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kedro/io/lambda_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ 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 "
"provided when LambdaDataset was created."
)
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 "
Expand Down

0 comments on commit 56bdf97

Please sign in to comment.