From 04d5f0e1e221af76cd083dc47b9db47559fa5c95 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Wed, 18 Sep 2024 12:02:59 -0400 Subject: [PATCH] [MAINTENANCE] Move FabricPowerBIDatasource out of experimental dir (#10419) --- great_expectations/datasource/fluent/__init__.py | 2 +- .../datasource => datasource/fluent}/fabric.py | 0 .../experimental/datasource/__init__.py | 13 ------------- tests/datasource/fluent/test_fabric.py | 4 ++-- 4 files changed, 3 insertions(+), 16 deletions(-) rename great_expectations/{experimental/datasource => datasource/fluent}/fabric.py (100%) delete mode 100644 great_expectations/experimental/datasource/__init__.py diff --git a/great_expectations/datasource/fluent/__init__.py b/great_expectations/datasource/fluent/__init__.py index 4052427ef418..17dc94b98129 100644 --- a/great_expectations/datasource/fluent/__init__.py +++ b/great_expectations/datasource/fluent/__init__.py @@ -50,7 +50,7 @@ from great_expectations.datasource.fluent.pandas_azure_blob_storage_datasource import ( PandasAzureBlobStorageDatasource, ) -from great_expectations.experimental.datasource.fabric import FabricPowerBIDatasource +from great_expectations.datasource.fluent.fabric import FabricPowerBIDatasource from great_expectations.datasource.fluent.postgres_datasource import ( PostgresDatasource, ) diff --git a/great_expectations/experimental/datasource/fabric.py b/great_expectations/datasource/fluent/fabric.py similarity index 100% rename from great_expectations/experimental/datasource/fabric.py rename to great_expectations/datasource/fluent/fabric.py diff --git a/great_expectations/experimental/datasource/__init__.py b/great_expectations/experimental/datasource/__init__.py deleted file mode 100644 index f39881545cbc..000000000000 --- a/great_expectations/experimental/datasource/__init__.py +++ /dev/null @@ -1,13 +0,0 @@ -from great_expectations.experimental.datasource.fabric import ( - FabricPowerBIDatasource, - PowerBIDax, - PowerBIMeasure, - PowerBITable, -) - -__all__ = [ - "FabricPowerBIDatasource", - "PowerBIDax", - "PowerBIMeasure", - "PowerBITable", -] diff --git a/tests/datasource/fluent/test_fabric.py b/tests/datasource/fluent/test_fabric.py index ce4a52eddeb1..57ea750fc15b 100644 --- a/tests/datasource/fluent/test_fabric.py +++ b/tests/datasource/fluent/test_fabric.py @@ -11,11 +11,11 @@ import great_expectations.core.batch_spec from great_expectations.datasource.fluent import BatchRequest -from great_expectations.exceptions.exceptions import BuildBatchRequestError -from great_expectations.experimental.datasource.fabric import ( +from great_expectations.datasource.fluent.fabric import ( FabricPowerBIDatasource, _PowerBIAsset, ) +from great_expectations.exceptions.exceptions import BuildBatchRequestError if TYPE_CHECKING: from great_expectations.data_context import AbstractDataContext