Skip to content

Commit

Permalink
[core-api][experimental] Table metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenKephart committed Dec 23, 2024
1 parent d87e1d3 commit 779783d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

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

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


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

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

Expand All @@ -10,7 +10,7 @@
# ########################


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


@experimental(emit_runtime_warning=False)
@beta(emit_runtime_warning=False)
@whitelist_for_serdes
class TableColumnDep(
NamedTuple(
Expand All @@ -292,7 +292,7 @@ def __new__(
)


@experimental
@beta
@whitelist_for_serdes
class TableColumnLineage(
NamedTuple(
Expand Down

0 comments on commit 779783d

Please sign in to comment.