Skip to content

[core-api][experimental] allow_nonexistent_upstream_partitions #26708

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import dagster._check as check
import dagster._seven as seven
from dagster._annotations import PublicAttr, experimental, public
from dagster._annotations import PublicAttr, public
from dagster._core.definitions.asset_key import AssetKey
from dagster._core.definitions.metadata.table import (
TableColumn as TableColumn,
Expand Down Expand Up @@ -402,7 +402,6 @@ def emit_metadata(context, df):

@public
@staticmethod
@experimental
def table(
records: Sequence[TableRecord], schema: Optional[TableSchema] = None
) -> "TableMetadataValue":
Expand Down Expand Up @@ -883,7 +882,6 @@ def value(self) -> AssetKey:


# This should be deprecated or fixed so that `value` does not return itself.
@experimental
@whitelist_for_serdes(storage_name="TableMetadataEntryData")
class TableMetadataValue(
NamedTuple(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from typing import NamedTuple, Optional, Union

import dagster._check as check
from dagster._annotations import PublicAttr, experimental, public
from dagster._annotations import PublicAttr, public
from dagster._core.definitions.asset_key import AssetKey, CoercibleToAssetKey
from dagster._serdes.serdes import whitelist_for_serdes

Expand All @@ -11,7 +11,6 @@
# ########################


@experimental
@whitelist_for_serdes
class TableRecord(
NamedTuple(
Expand Down Expand Up @@ -268,7 +267,6 @@ def from_name_type_dict(name_type_dict: Mapping[str, str]):
# ###########################


@experimental(emit_runtime_warning=False)
@whitelist_for_serdes
class TableColumnDep(
NamedTuple(
Expand All @@ -293,7 +291,6 @@ def __new__(
)


@experimental
@whitelist_for_serdes
class TableColumnLineage(
NamedTuple(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from typing import NamedTuple, Optional, cast

import dagster._check as check
from dagster._annotations import PublicAttr, experimental_param
from dagster._annotations import PublicAttr, beta_param
from dagster._core.definitions.partition import (
AllPartitionsSubset,
PartitionsDefinition,
Expand All @@ -22,7 +22,7 @@


@whitelist_for_serdes
@experimental_param(param="allow_nonexistent_upstream_partitions")
@beta_param(param="allow_nonexistent_upstream_partitions")
class TimeWindowPartitionMapping(
PartitionMapping,
NamedTuple(
Expand Down