Skip to content

Commit 085c490

Browse files
committed
[generator] Regenerated latest typedef models
1 parent ffe9248 commit 085c490

15 files changed

+553
-45
lines changed

pyatlan/model/assets/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@
7676
"SnowflakeStage",
7777
"SnowflakeStream",
7878
"DatabricksUnityCatalogTag",
79-
"CalculationView",
8079
"Database",
80+
"CalculationView",
8181
"Procedure",
8282
"SnowflakeTag",
8383
"MatillionGroup",

pyatlan/model/assets/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ __all__ = [
7373
"SnowflakeStage",
7474
"SnowflakeStream",
7575
"DatabricksUnityCatalogTag",
76-
"CalculationView",
7776
"Database",
77+
"CalculationView",
7878
"Procedure",
7979
"SnowflakeTag",
8080
"MatillionGroup",

pyatlan/model/assets/auth_service.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ def __setattr__(self, name, value):
3939
"""
4040
TBC
4141
"""
42+
ABAC_SERVICE: ClassVar[KeywordField] = KeywordField("abacService", "abacService")
43+
"""
44+
TBC
45+
"""
4246
AUTH_SERVICE_IS_ENABLED: ClassVar[BooleanField] = BooleanField(
4347
"authServiceIsEnabled", "authServiceIsEnabled"
4448
)
@@ -61,6 +65,7 @@ def __setattr__(self, name, value):
6165
_convenience_properties: ClassVar[List[str]] = [
6266
"auth_service_type",
6367
"tag_service",
68+
"abac_service",
6469
"auth_service_is_enabled",
6570
"auth_service_config",
6671
"auth_service_policy_last_sync",
@@ -86,6 +91,16 @@ def tag_service(self, tag_service: Optional[str]):
8691
self.attributes = self.Attributes()
8792
self.attributes.tag_service = tag_service
8893

94+
@property
95+
def abac_service(self) -> Optional[str]:
96+
return None if self.attributes is None else self.attributes.abac_service
97+
98+
@abac_service.setter
99+
def abac_service(self, abac_service: Optional[str]):
100+
if self.attributes is None:
101+
self.attributes = self.Attributes()
102+
self.attributes.abac_service = abac_service
103+
89104
@property
90105
def auth_service_is_enabled(self) -> Optional[bool]:
91106
return (
@@ -127,6 +142,7 @@ def auth_service_policy_last_sync(
127142
class Attributes(Asset.Attributes):
128143
auth_service_type: Optional[str] = Field(default=None, description="")
129144
tag_service: Optional[str] = Field(default=None, description="")
145+
abac_service: Optional[str] = Field(default=None, description="")
130146
auth_service_is_enabled: Optional[bool] = Field(default=None, description="")
131147
auth_service_config: Optional[Dict[str, str]] = Field(
132148
default=None, description=""

pyatlan/model/assets/core/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,8 @@
190190
SnowflakeStage.Attributes.update_forward_refs(**localns)
191191
SnowflakeStream.Attributes.update_forward_refs(**localns)
192192
DatabricksUnityCatalogTag.Attributes.update_forward_refs(**localns)
193-
CalculationView.Attributes.update_forward_refs(**localns)
194193
Database.Attributes.update_forward_refs(**localns)
194+
CalculationView.Attributes.update_forward_refs(**localns)
195195
Procedure.Attributes.update_forward_refs(**localns)
196196
SnowflakeTag.Attributes.update_forward_refs(**localns)
197197
MatillionGroup.Attributes.update_forward_refs(**localns)

pyatlan/model/assets/core/auth_policy.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
KeywordField,
1616
NumericField,
1717
RelationField,
18+
TextField,
1819
)
1920
from pyatlan.model.structs import AuthPolicyCondition, AuthPolicyValiditySchedule
2021
from pyatlan.utils import init_guid, validate_required_fields
@@ -80,6 +81,12 @@ def __setattr__(self, name, value):
8081
return object.__setattr__(self, name, value)
8182
super().__setattr__(name, value)
8283

84+
POLICY_FILTER_CRITERIA: ClassVar[TextField] = TextField(
85+
"policyFilterCriteria", "policyFilterCriteria"
86+
)
87+
"""
88+
TBC
89+
"""
8390
POLICY_TYPE: ClassVar[KeywordField] = KeywordField("policyType", "policyType")
8491
"""
8592
TBC
@@ -181,6 +188,7 @@ def __setattr__(self, name, value):
181188
"""
182189

183190
_convenience_properties: ClassVar[List[str]] = [
191+
"policy_filter_criteria",
184192
"policy_type",
185193
"policy_service_name",
186194
"policy_category",
@@ -201,6 +209,18 @@ def __setattr__(self, name, value):
201209
"access_control",
202210
]
203211

212+
@property
213+
def policy_filter_criteria(self) -> Optional[str]:
214+
return (
215+
None if self.attributes is None else self.attributes.policy_filter_criteria
216+
)
217+
218+
@policy_filter_criteria.setter
219+
def policy_filter_criteria(self, policy_filter_criteria: Optional[str]):
220+
if self.attributes is None:
221+
self.attributes = self.Attributes()
222+
self.attributes.policy_filter_criteria = policy_filter_criteria
223+
204224
@property
205225
def policy_type(self) -> Optional[AuthPolicyType]:
206226
return None if self.attributes is None else self.attributes.policy_type
@@ -398,6 +418,7 @@ def access_control(self, access_control: Optional[AccessControl]):
398418
self.attributes.access_control = access_control
399419

400420
class Attributes(Asset.Attributes):
421+
policy_filter_criteria: Optional[str] = Field(default=None, description="")
401422
policy_type: Optional[AuthPolicyType] = Field(default=None, description="")
402423
policy_service_name: Optional[str] = Field(default=None, description="")
403424
policy_category: Optional[str] = Field(default=None, description="")

pyatlan/model/assets/core/column.py

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,18 @@ def __setattr__(self, name, value):
201201
"""
202202
Sub-data type of this column.
203203
"""
204+
COLUMN_COMPRESSION: ClassVar[KeywordField] = KeywordField(
205+
"columnCompression", "columnCompression"
206+
)
207+
"""
208+
Compression type of this column.
209+
"""
210+
COLUMN_ENCODING: ClassVar[KeywordField] = KeywordField(
211+
"columnEncoding", "columnEncoding"
212+
)
213+
"""
214+
Encoding type of this column.
215+
"""
204216
RAW_DATA_TYPE_DEFINITION: ClassVar[TextField] = TextField(
205217
"rawDataTypeDefinition", "rawDataTypeDefinition"
206218
)
@@ -548,6 +560,8 @@ def __setattr__(self, name, value):
548560
_convenience_properties: ClassVar[List[str]] = [
549561
"data_type",
550562
"sub_data_type",
563+
"column_compression",
564+
"column_encoding",
551565
"raw_data_type_definition",
552566
"order",
553567
"nested_column_order",
@@ -639,6 +653,26 @@ def sub_data_type(self, sub_data_type: Optional[str]):
639653
self.attributes = self.Attributes()
640654
self.attributes.sub_data_type = sub_data_type
641655

656+
@property
657+
def column_compression(self) -> Optional[str]:
658+
return None if self.attributes is None else self.attributes.column_compression
659+
660+
@column_compression.setter
661+
def column_compression(self, column_compression: Optional[str]):
662+
if self.attributes is None:
663+
self.attributes = self.Attributes()
664+
self.attributes.column_compression = column_compression
665+
666+
@property
667+
def column_encoding(self) -> Optional[str]:
668+
return None if self.attributes is None else self.attributes.column_encoding
669+
670+
@column_encoding.setter
671+
def column_encoding(self, column_encoding: Optional[str]):
672+
if self.attributes is None:
673+
self.attributes = self.Attributes()
674+
self.attributes.column_encoding = column_encoding
675+
642676
@property
643677
def raw_data_type_definition(self) -> Optional[str]:
644678
return (
@@ -1452,6 +1486,8 @@ def table_partition(self, table_partition: Optional[TablePartition]):
14521486
class Attributes(SQL.Attributes):
14531487
data_type: Optional[str] = Field(default=None, description="")
14541488
sub_data_type: Optional[str] = Field(default=None, description="")
1489+
column_compression: Optional[str] = Field(default=None, description="")
1490+
column_encoding: Optional[str] = Field(default=None, description="")
14551491
raw_data_type_definition: Optional[str] = Field(default=None, description="")
14561492
order: Optional[int] = Field(default=None, description="")
14571493
nested_column_order: Optional[str] = Field(default=None, description="")

pyatlan/model/assets/core/cosmos_mongo_d_b_collection.py

Lines changed: 67 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,12 @@ def __setattr__(self, name, value):
140140
"""
141141
Size of this table, in bytes.
142142
"""
143+
TABLE_OBJECT_COUNT: ClassVar[NumericField] = NumericField(
144+
"tableObjectCount", "tableObjectCount"
145+
)
146+
"""
147+
Number of objects in this table.
148+
"""
143149
ALIAS: ClassVar[TextField] = TextField("alias", "alias")
144150
"""
145151
Alias for this table.
@@ -196,6 +202,12 @@ def __setattr__(self, name, value):
196202
"""
197203
Number of partitions in this table.
198204
"""
205+
TABLE_DEFINITION: ClassVar[TextField] = TextField(
206+
"tableDefinition", "tableDefinition"
207+
)
208+
"""
209+
Definition of the table.
210+
"""
199211
PARTITION_LIST: ClassVar[TextField] = TextField("partitionList", "partitionList")
200212
"""
201213
List of partitions in this table.
@@ -212,43 +224,49 @@ def __setattr__(self, name, value):
212224
"icebergCatalogName", "icebergCatalogName"
213225
)
214226
"""
215-
iceberg table catalog name (can be any user defined name)
227+
Iceberg table catalog name (can be any user defined name)
216228
"""
217229
ICEBERG_TABLE_TYPE: ClassVar[KeywordField] = KeywordField(
218230
"icebergTableType", "icebergTableType"
219231
)
220232
"""
221-
iceberg table type (managed vs unmanaged)
233+
Iceberg table type (managed vs unmanaged)
222234
"""
223235
ICEBERG_CATALOG_SOURCE: ClassVar[KeywordField] = KeywordField(
224236
"icebergCatalogSource", "icebergCatalogSource"
225237
)
226238
"""
227-
iceberg table catalog type (glue, polaris, snowflake)
239+
Iceberg table catalog type (glue, polaris, snowflake)
228240
"""
229241
ICEBERG_CATALOG_TABLE_NAME: ClassVar[KeywordField] = KeywordField(
230242
"icebergCatalogTableName", "icebergCatalogTableName"
231243
)
232244
"""
233-
catalog table name (actual table name on the catalog side).
245+
Catalog table name (actual table name on the catalog side).
246+
"""
247+
TABLE_IMPALA_PARAMETERS: ClassVar[KeywordField] = KeywordField(
248+
"tableImpalaParameters", "tableImpalaParameters"
249+
)
250+
"""
251+
Extra attributes for Impala
234252
"""
235253
ICEBERG_CATALOG_TABLE_NAMESPACE: ClassVar[KeywordField] = KeywordField(
236254
"icebergCatalogTableNamespace", "icebergCatalogTableNamespace"
237255
)
238256
"""
239-
catalog table namespace (actual database name on the catalog side).
257+
Catalog table namespace (actual database name on the catalog side).
240258
"""
241259
TABLE_EXTERNAL_VOLUME_NAME: ClassVar[KeywordField] = KeywordField(
242260
"tableExternalVolumeName", "tableExternalVolumeName"
243261
)
244262
"""
245-
external volume name for the table.
263+
External volume name for the table.
246264
"""
247265
ICEBERG_TABLE_BASE_LOCATION: ClassVar[KeywordField] = KeywordField(
248266
"icebergTableBaseLocation", "icebergTableBaseLocation"
249267
)
250268
"""
251-
iceberg table base location inside the external volume.
269+
Iceberg table base location inside the external volume.
252270
"""
253271
TABLE_RETENTION_TIME: ClassVar[NumericField] = NumericField(
254272
"tableRetentionTime", "tableRetentionTime"
@@ -422,6 +440,7 @@ def __setattr__(self, name, value):
422440
"column_count",
423441
"row_count",
424442
"size_bytes",
443+
"table_object_count",
425444
"alias",
426445
"is_temporary",
427446
"is_query_preview",
@@ -432,13 +451,15 @@ def __setattr__(self, name, value):
432451
"is_partitioned",
433452
"partition_strategy",
434453
"partition_count",
454+
"table_definition",
435455
"partition_list",
436456
"is_sharded",
437457
"table_type",
438458
"iceberg_catalog_name",
439459
"iceberg_table_type",
440460
"iceberg_catalog_source",
441461
"iceberg_catalog_table_name",
462+
"table_impala_parameters",
442463
"iceberg_catalog_table_namespace",
443464
"table_external_volume_name",
444465
"iceberg_table_base_location",
@@ -744,6 +765,16 @@ def size_bytes(self, size_bytes: Optional[int]):
744765
self.attributes = self.Attributes()
745766
self.attributes.size_bytes = size_bytes
746767

768+
@property
769+
def table_object_count(self) -> Optional[int]:
770+
return None if self.attributes is None else self.attributes.table_object_count
771+
772+
@table_object_count.setter
773+
def table_object_count(self, table_object_count: Optional[int]):
774+
if self.attributes is None:
775+
self.attributes = self.Attributes()
776+
self.attributes.table_object_count = table_object_count
777+
747778
@property
748779
def alias(self) -> Optional[str]:
749780
return None if self.attributes is None else self.attributes.alias
@@ -852,6 +883,16 @@ def partition_count(self, partition_count: Optional[int]):
852883
self.attributes = self.Attributes()
853884
self.attributes.partition_count = partition_count
854885

886+
@property
887+
def table_definition(self) -> Optional[str]:
888+
return None if self.attributes is None else self.attributes.table_definition
889+
890+
@table_definition.setter
891+
def table_definition(self, table_definition: Optional[str]):
892+
if self.attributes is None:
893+
self.attributes = self.Attributes()
894+
self.attributes.table_definition = table_definition
895+
855896
@property
856897
def partition_list(self) -> Optional[str]:
857898
return None if self.attributes is None else self.attributes.partition_list
@@ -928,6 +969,20 @@ def iceberg_catalog_table_name(self, iceberg_catalog_table_name: Optional[str]):
928969
self.attributes = self.Attributes()
929970
self.attributes.iceberg_catalog_table_name = iceberg_catalog_table_name
930971

972+
@property
973+
def table_impala_parameters(self) -> Optional[Dict[str, str]]:
974+
return (
975+
None if self.attributes is None else self.attributes.table_impala_parameters
976+
)
977+
978+
@table_impala_parameters.setter
979+
def table_impala_parameters(
980+
self, table_impala_parameters: Optional[Dict[str, str]]
981+
):
982+
if self.attributes is None:
983+
self.attributes = self.Attributes()
984+
self.attributes.table_impala_parameters = table_impala_parameters
985+
931986
@property
932987
def iceberg_catalog_table_namespace(self) -> Optional[str]:
933988
return (
@@ -1340,6 +1395,7 @@ class Attributes(CosmosMongoDB.Attributes):
13401395
column_count: Optional[int] = Field(default=None, description="")
13411396
row_count: Optional[int] = Field(default=None, description="")
13421397
size_bytes: Optional[int] = Field(default=None, description="")
1398+
table_object_count: Optional[int] = Field(default=None, description="")
13431399
alias: Optional[str] = Field(default=None, description="")
13441400
is_temporary: Optional[bool] = Field(default=None, description="")
13451401
is_query_preview: Optional[bool] = Field(default=None, description="")
@@ -1352,13 +1408,17 @@ class Attributes(CosmosMongoDB.Attributes):
13521408
is_partitioned: Optional[bool] = Field(default=None, description="")
13531409
partition_strategy: Optional[str] = Field(default=None, description="")
13541410
partition_count: Optional[int] = Field(default=None, description="")
1411+
table_definition: Optional[str] = Field(default=None, description="")
13551412
partition_list: Optional[str] = Field(default=None, description="")
13561413
is_sharded: Optional[bool] = Field(default=None, description="")
13571414
table_type: Optional[TableType] = Field(default=None, description="")
13581415
iceberg_catalog_name: Optional[str] = Field(default=None, description="")
13591416
iceberg_table_type: Optional[str] = Field(default=None, description="")
13601417
iceberg_catalog_source: Optional[str] = Field(default=None, description="")
13611418
iceberg_catalog_table_name: Optional[str] = Field(default=None, description="")
1419+
table_impala_parameters: Optional[Dict[str, str]] = Field(
1420+
default=None, description=""
1421+
)
13621422
iceberg_catalog_table_namespace: Optional[str] = Field(
13631423
default=None, description=""
13641424
)

0 commit comments

Comments
 (0)