Skip to content

Commit

Permalink
Mark Fivetran ops as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
maximearmstrong committed Nov 21, 2024
1 parent e36b490 commit f7a858e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions python_modules/libraries/dagster-fivetran/dagster_fivetran/ops.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from typing import Any, Dict, List, Optional

from dagster import AssetKey, Config, In, Nothing, Out, Output, op
from dagster._annotations import deprecated
from dagster._core.storage.tags import COMPUTE_KIND_TAG
from pydantic import Field

Expand Down Expand Up @@ -43,6 +44,12 @@ class SyncConfig(Config):
)


@deprecated(
breaking_version="2.0",
additional_warn_text=(
"Fivetran ops will be deprecated. Use `FivetranWorkspace` resource and `@fivetran_asset` decorator instead"
),
)
@op(
ins={"start_after": In(Nothing)},
out=Out(
Expand Down Expand Up @@ -112,6 +119,12 @@ class FivetranResyncConfig(SyncConfig):
)


@deprecated(
breaking_version="2.0",
additional_warn_text=(
"Fivetran ops will be deprecated. Use `FivetranWorkspace` resource and `@fivetran_asset` decorator instead"
),
)
@op(
ins={"start_after": In(Nothing)},
out=Out(
Expand Down

0 comments on commit f7a858e

Please sign in to comment.