From 08864540a09f6e046eacc36a66a22bce56d5779c Mon Sep 17 00:00:00 2001 From: tdhooghe Date: Tue, 22 Oct 2024 16:14:36 +0200 Subject: [PATCH] improve docstring and remove ignore from dataset-doctest Signed-off-by: tdhooghe --- Makefile | 1 - .../snowflake/snowpark_dataset.py | 85 ++++++++++--------- 2 files changed, 43 insertions(+), 43 deletions(-) diff --git a/Makefile b/Makefile index 324332972..0b80cf3a1 100644 --- a/Makefile +++ b/Makefile @@ -73,7 +73,6 @@ dataset-doctest%: --ignore kedro_datasets/pandas/gbq_dataset.py \ --ignore kedro_datasets/partitions/partitioned_dataset.py \ --ignore kedro_datasets/redis/redis_dataset.py \ - --ignore kedro_datasets/snowflake/snowpark_dataset.py \ --ignore kedro_datasets/spark/spark_hive_dataset.py \ --ignore kedro_datasets/spark/spark_jdbc_dataset.py \ $(extra_pytest_arg${*}) diff --git a/kedro-datasets/kedro_datasets/snowflake/snowpark_dataset.py b/kedro-datasets/kedro_datasets/snowflake/snowpark_dataset.py index 1750609a2..d3c9ab339 100644 --- a/kedro-datasets/kedro_datasets/snowflake/snowpark_dataset.py +++ b/kedro-datasets/kedro_datasets/snowflake/snowpark_dataset.py @@ -15,9 +15,10 @@ class SnowparkTableDataset(AbstractDataset): - """``SnowparkTableDataset`` loads and saves Snowpark dataframes. + """``SnowparkTableDataset`` loads and saves Snowpark DataFrames. - As of Oct-2024, the snowpark connector works with Python 3.9, 3.10 and 3.11. Python 3.12 is not supported yet. + As of October 2024, the Snowpark connector works with Python 3.9, 3.10, and 3.11. + Python 3.12 is not supported yet. Example usage for the `YAML API