From b32d6febbb8a0f9b1570b3a6722b6ea05785c8af Mon Sep 17 00:00:00 2001 From: Maxime Armstrong Date: Mon, 13 Jan 2025 12:15:36 -0500 Subject: [PATCH] [dagster-embedded-elt] Mark dagster-embedded-elt as deprecated --- .../dagster-embedded-elt/dagster_embedded_elt/__init__.py | 7 +++++++ .../dagster_embedded_elt/dlt/__init__.py | 8 ++++++++ .../dagster_embedded_elt/sling/__init__.py | 8 ++++++++ 3 files changed, 23 insertions(+) diff --git a/python_modules/libraries/dagster-embedded-elt/dagster_embedded_elt/__init__.py b/python_modules/libraries/dagster-embedded-elt/dagster_embedded_elt/__init__.py index 40514c845d6ed..ca9ce7db731ee 100644 --- a/python_modules/libraries/dagster-embedded-elt/dagster_embedded_elt/__init__.py +++ b/python_modules/libraries/dagster-embedded-elt/dagster_embedded_elt/__init__.py @@ -1,5 +1,12 @@ from dagster._core.libraries import DagsterLibraryRegistry +from dagster._utils.warnings import deprecation_warning from dagster_embedded_elt.version import __version__ +deprecation_warning( + "The `dagster-embedded-elt` library", + "0.26", + additional_warn_text="Use `dagster-dlt` and `dagster-sling` instead.", +) + DagsterLibraryRegistry.register("dagster-embedded-elt", __version__) diff --git a/python_modules/libraries/dagster-embedded-elt/dagster_embedded_elt/dlt/__init__.py b/python_modules/libraries/dagster-embedded-elt/dagster_embedded_elt/dlt/__init__.py index 8472428f029de..8d1d377ab62ba 100644 --- a/python_modules/libraries/dagster-embedded-elt/dagster_embedded_elt/dlt/__init__.py +++ b/python_modules/libraries/dagster-embedded-elt/dagster_embedded_elt/dlt/__init__.py @@ -1,5 +1,13 @@ +from dagster._utils.warnings import deprecation_warning + from dagster_embedded_elt.dlt.asset_decorator import build_dlt_asset_specs, dlt_assets from dagster_embedded_elt.dlt.resource import DagsterDltResource from dagster_embedded_elt.dlt.translator import DagsterDltTranslator +deprecation_warning( + "The `dagster-embedded-elt` library", + "0.26", + additional_warn_text="Use `dagster-dlt` instead.", +) + __all__ = ["DagsterDltResource", "DagsterDltTranslator", "build_dlt_asset_specs", "dlt_assets"] diff --git a/python_modules/libraries/dagster-embedded-elt/dagster_embedded_elt/sling/__init__.py b/python_modules/libraries/dagster-embedded-elt/dagster_embedded_elt/sling/__init__.py index c2a13baf0d36b..fde12e673f8a7 100644 --- a/python_modules/libraries/dagster-embedded-elt/dagster_embedded_elt/sling/__init__.py +++ b/python_modules/libraries/dagster-embedded-elt/dagster_embedded_elt/sling/__init__.py @@ -1,8 +1,16 @@ +from dagster._utils.warnings import deprecation_warning + from dagster_embedded_elt.sling.asset_decorator import sling_assets from dagster_embedded_elt.sling.dagster_sling_translator import DagsterSlingTranslator from dagster_embedded_elt.sling.resources import SlingConnectionResource, SlingMode, SlingResource from dagster_embedded_elt.sling.sling_replication import SlingReplicationParam +deprecation_warning( + "The `dagster-embedded-elt` library", + "0.26", + additional_warn_text="Use `dagster-sling` instead.", +) + __all__ = [ "DagsterSlingTranslator", "SlingConnectionResource",