Skip to content

Commit

Permalink
[dagster-embedded-elt] Mark dagster-embedded-elt as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
maximearmstrong committed Jan 14, 2025
1 parent 59a7588 commit b32d6fe
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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__)
Original file line number Diff line number Diff line change
@@ -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"]
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit b32d6fe

Please sign in to comment.