Skip to content

Commit

Permalink
[core-api][experimental] DataVersion assorted APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenKephart committed Dec 31, 2024
1 parent cfcadea commit 16083d3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from typing_extensions import Final

from dagster import _check as check
from dagster._annotations import deprecated, experimental
from dagster._annotations import beta, deprecated
from dagster._core.loader import LoadingContext
from dagster._utils.cached_method import cached_method

Expand Down Expand Up @@ -63,7 +63,7 @@ def __new__(
)


@experimental
@beta
class DataVersionsByPartition(
NamedTuple(
"_DataVersionsByPartition", [("data_versions_by_partition", Mapping[str, DataVersion])]
Expand Down
4 changes: 2 additions & 2 deletions python_modules/dagster/dagster/_core/definitions/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from typing_extensions import Self

import dagster._check as check
from dagster._annotations import PublicAttr, deprecated, experimental_param, public
from dagster._annotations import PublicAttr, beta_param, deprecated, public
from dagster._core.definitions.asset_key import (
AssetKey as AssetKey,
CoercibleToAssetKey as CoercibleToAssetKey,
Expand Down Expand Up @@ -91,7 +91,7 @@ def with_metadata(self, metadata: Optional[Mapping[str, RawMetadataValue]]) -> S
T = TypeVar("T")


@experimental_param(param="data_version")
@beta_param(param="data_version")
class Output(Generic[T], EventWithMetadata):
"""Event corresponding to one of an op's outputs.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from typing_extensions import TypeAlias

import dagster._check as check
from dagster._annotations import experimental_param, public
from dagster._annotations import beta_param, public
from dagster._core.decorator_utils import (
format_docstring_for_description,
get_function_params,
Expand Down Expand Up @@ -56,7 +56,7 @@
]


@experimental_param(param="version")
@beta_param(param="version")
class ResourceDefinition(AnonymousConfigurableDefinition, IHasInternalInit):
"""Core class for defining resources.
Expand Down

0 comments on commit 16083d3

Please sign in to comment.