From b789b01224b8110327da988082147e101826a9e1 Mon Sep 17 00:00:00 2001 From: Harm Matthias Harms Date: Mon, 7 Oct 2024 08:24:05 +0200 Subject: [PATCH] Update to main save/load methods Signed-off-by: Harm Matthias Harms --- kedro-datasets/kedro_datasets/geopandas/generic_dataset.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kedro-datasets/kedro_datasets/geopandas/generic_dataset.py b/kedro-datasets/kedro_datasets/geopandas/generic_dataset.py index b2c6fbe87..90aac8824 100644 --- a/kedro-datasets/kedro_datasets/geopandas/generic_dataset.py +++ b/kedro-datasets/kedro_datasets/geopandas/generic_dataset.py @@ -149,7 +149,7 @@ def _ensure_file_system_target(self) -> None: f"does not support a filepath target/source." ) - def _load(self) -> gpd.GeoDataFrame | dict[str, gpd.GeoDataFrame]: + def load(self) -> gpd.GeoDataFrame | dict[str, gpd.GeoDataFrame]: self._ensure_file_system_target() load_path = get_filepath_str(self._get_load_path(), self._protocol) @@ -163,7 +163,7 @@ def _load(self) -> gpd.GeoDataFrame | dict[str, gpd.GeoDataFrame]: "https://geopandas.org/en/stable/docs/reference/io.html" ) - def _save(self, data: gpd.GeoDataFrame) -> None: + def save(self, data: gpd.GeoDataFrame) -> None: self._ensure_file_system_target() save_path = get_filepath_str(self._get_save_path(), self._protocol)