|
53 | 53 | from .referenceable_related import RelatedReferenceable |
54 | 54 | from .resource_related import RelatedFile, RelatedLink, RelatedReadme |
55 | 55 | from .schema_registry_related import RelatedSchemaRegistrySubject |
56 | | -from .snowflake_related import RelatedSnowflakeDynamicTable |
| 56 | +from .snowflake_related import ( |
| 57 | + RelatedSnowflakeDynamicTable, |
| 58 | + RelatedSnowflakeSemanticLogicalTable, |
| 59 | +) |
57 | 60 | from .soda_related import RelatedSodaCheck |
58 | 61 | from .spark_related import RelatedSparkJob |
59 | 62 | from pyatlan.model.enums import AtlanConnectorType |
@@ -224,6 +227,7 @@ class Column(Asset): |
224 | 227 | QUERIES: ClassVar[Any] = None |
225 | 228 | SCHEMA_REGISTRY_SUBJECTS: ClassVar[Any] = None |
226 | 229 | SNOWFLAKE_DYNAMIC_TABLE: ClassVar[Any] = None |
| 230 | + SNOWFLAKE_SEMANTIC_LOGICAL_TABLES: ClassVar[Any] = None |
227 | 231 | SODA_CHECKS: ClassVar[Any] = None |
228 | 232 | INPUT_TO_SPARK_JOBS: ClassVar[Any] = None |
229 | 233 | OUTPUT_FROM_SPARK_JOBS: ClassVar[Any] = None |
@@ -651,6 +655,11 @@ class Column(Asset): |
651 | 655 | snowflake_dynamic_table: RelatedSnowflakeDynamicTable | None | UnsetType = UNSET |
652 | 656 | """Snowflake dynamic table in which this column exists.""" |
653 | 657 |
|
| 658 | + snowflake_semantic_logical_tables: ( |
| 659 | + list[RelatedSnowflakeSemanticLogicalTable] | None | UnsetType |
| 660 | + ) = UNSET |
| 661 | + """Semantic logical tables that reference this physical table or view.""" |
| 662 | + |
654 | 663 | soda_checks: list[RelatedSodaCheck] | None | UnsetType = UNSET |
655 | 664 | """""" |
656 | 665 |
|
@@ -1347,6 +1356,11 @@ class ColumnRelationshipAttributes(AssetRelationshipAttributes): |
1347 | 1356 | snowflake_dynamic_table: RelatedSnowflakeDynamicTable | None | UnsetType = UNSET |
1348 | 1357 | """Snowflake dynamic table in which this column exists.""" |
1349 | 1358 |
|
| 1359 | + snowflake_semantic_logical_tables: ( |
| 1360 | + list[RelatedSnowflakeSemanticLogicalTable] | None | UnsetType |
| 1361 | + ) = UNSET |
| 1362 | + """Semantic logical tables that reference this physical table or view.""" |
| 1363 | + |
1350 | 1364 | soda_checks: list[RelatedSodaCheck] | None | UnsetType = UNSET |
1351 | 1365 | """""" |
1352 | 1366 |
|
@@ -1423,6 +1437,7 @@ class ColumnNested(AssetNested): |
1423 | 1437 | "queries", |
1424 | 1438 | "schema_registry_subjects", |
1425 | 1439 | "snowflake_dynamic_table", |
| 1440 | + "snowflake_semantic_logical_tables", |
1426 | 1441 | "soda_checks", |
1427 | 1442 | "input_to_spark_jobs", |
1428 | 1443 | "output_from_spark_jobs", |
@@ -1906,6 +1921,9 @@ def _column_from_nested_bytes(data: bytes, serde: Serde) -> Column: |
1906 | 1921 | Column.QUERIES = RelationField("queries") |
1907 | 1922 | Column.SCHEMA_REGISTRY_SUBJECTS = RelationField("schemaRegistrySubjects") |
1908 | 1923 | Column.SNOWFLAKE_DYNAMIC_TABLE = RelationField("snowflakeDynamicTable") |
| 1924 | +Column.SNOWFLAKE_SEMANTIC_LOGICAL_TABLES = RelationField( |
| 1925 | + "snowflakeSemanticLogicalTables" |
| 1926 | +) |
1909 | 1927 | Column.SODA_CHECKS = RelationField("sodaChecks") |
1910 | 1928 | Column.INPUT_TO_SPARK_JOBS = RelationField("inputToSparkJobs") |
1911 | 1929 | Column.OUTPUT_FROM_SPARK_JOBS = RelationField("outputFromSparkJobs") |
0 commit comments