Skip to content

Commit 875055c

Browse files
committed
chore: regenerate models from fresh typedefs (--override)
Regenerated with fresh typedefs download from eops1.atlan.com.
1 parent 89df134 commit 875055c

35 files changed

Lines changed: 695 additions & 1555 deletions

pyatlan/model/assets/__init__.py

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"core": [
77
"Referenceable",
88
"Asset",
9-
"Agentic",
109
"Process",
1110
"AtlasGlossaryCategory",
1211
"AccessControl",
@@ -18,17 +17,14 @@
1817
"AtlasGlossary",
1918
"AtlasGlossaryTerm",
2019
"Cloud",
21-
"Context",
22-
"Skill",
23-
"SkillArtifact",
24-
"Artifact",
2520
"FlowDatasetOperation",
2621
"BIProcess",
2722
"ColumnProcess",
2823
"Persona",
2924
"App",
3025
"Airflow",
3126
"ADF",
27+
"Agentic",
3228
"BI",
3329
"Semantic",
3430
"FlowDataset",
@@ -55,8 +51,6 @@
5551
"FlowFieldOperation",
5652
"FlowControlOperation",
5753
"Google",
58-
"ContextRepository",
59-
"ContextArtifact",
6054
"Stakeholder",
6155
"ApplicationField",
6256
"Application",
@@ -68,6 +62,9 @@
6862
"AdfPipeline",
6963
"AdfLinkedservice",
7064
"AdfActivity",
65+
"Context",
66+
"Skill",
67+
"Artifact",
7168
"DataStudio",
7269
"PowerBI",
7370
"Fabric",
@@ -140,6 +137,9 @@
140137
"GCPDataplex",
141138
"AtlanAppWorkflow",
142139
"AtlanAppTool",
140+
"ContextRepository",
141+
"ContextArtifact",
142+
"SkillArtifact",
143143
"PowerBIReport",
144144
"PowerBIDatasource",
145145
"PowerBIWorkspace",
@@ -231,7 +231,6 @@
231231
"multi_dimensional_dataset": ["MultiDimensionalDataset"],
232232
"custom": ["Custom"],
233233
"a_p_i": ["API"],
234-
"context_studio": ["ContextStudio"],
235234
"collection": ["Collection"],
236235
"flow_folder": ["FlowFolder"],
237236
"flow_project": ["FlowProject"],
@@ -299,12 +298,6 @@
299298
"a_p_i_path": ["APIPath"],
300299
"a_p_i_field": ["APIField"],
301300
"source_tag": ["SourceTag"],
302-
"context_instruction": ["ContextInstruction"],
303-
"context_relationship": ["ContextRelationship"],
304-
"context_metric": ["ContextMetric"],
305-
"context_filter": ["ContextFilter"],
306-
"context_dimension": ["ContextDimension"],
307-
"context_product": ["ContextProduct"],
308301
"data_studio_asset": ["DataStudioAsset"],
309302
"atlan_app_deployment": ["AtlanAppDeployment"],
310303
"atlan_app_installed": ["AtlanAppInstalled"],

pyatlan/model/assets/__init__.pyi

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
__all__ = [
44
"Referenceable",
55
"Asset",
6-
"Agentic",
76
"Process",
87
"AtlasGlossaryCategory",
98
"AccessControl",
@@ -15,17 +14,14 @@ __all__ = [
1514
"AtlasGlossary",
1615
"AtlasGlossaryTerm",
1716
"Cloud",
18-
"Context",
19-
"Skill",
20-
"SkillArtifact",
21-
"Artifact",
2217
"FlowDatasetOperation",
2318
"BIProcess",
2419
"ColumnProcess",
2520
"Persona",
2621
"App",
2722
"Airflow",
2823
"ADF",
24+
"Agentic",
2925
"BI",
3026
"Semantic",
3127
"FlowDataset",
@@ -52,8 +48,6 @@ __all__ = [
5248
"FlowFieldOperation",
5349
"FlowControlOperation",
5450
"Google",
55-
"ContextRepository",
56-
"ContextArtifact",
5751
"Stakeholder",
5852
"ApplicationField",
5953
"Application",
@@ -65,6 +59,9 @@ __all__ = [
6559
"AdfPipeline",
6660
"AdfLinkedservice",
6761
"AdfActivity",
62+
"Context",
63+
"Skill",
64+
"Artifact",
6865
"DataStudio",
6966
"PowerBI",
7067
"Fabric",
@@ -137,6 +134,9 @@ __all__ = [
137134
"GCPDataplex",
138135
"AtlanAppWorkflow",
139136
"AtlanAppTool",
137+
"ContextRepository",
138+
"ContextArtifact",
139+
"SkillArtifact",
140140
"PowerBIReport",
141141
"PowerBIDatasource",
142142
"PowerBIWorkspace",
@@ -227,7 +227,6 @@ __all__ = [
227227
"MultiDimensionalDataset",
228228
"Custom",
229229
"API",
230-
"ContextStudio",
231230
"Collection",
232231
"FlowFolder",
233232
"FlowProject",
@@ -295,12 +294,6 @@ __all__ = [
295294
"APIPath",
296295
"APIField",
297296
"SourceTag",
298-
"ContextInstruction",
299-
"ContextRelationship",
300-
"ContextMetric",
301-
"ContextFilter",
302-
"ContextDimension",
303-
"ContextProduct",
304297
"DataStudioAsset",
305298
"AtlanAppDeployment",
306299
"AtlanAppInstalled",
@@ -536,13 +529,6 @@ from .cognos_report import CognosReport
536529
from .collection import Collection
537530
from .connection import Connection
538531
from .connection_process import ConnectionProcess
539-
from .context_dimension import ContextDimension
540-
from .context_filter import ContextFilter
541-
from .context_instruction import ContextInstruction
542-
from .context_metric import ContextMetric
543-
from .context_product import ContextProduct
544-
from .context_relationship import ContextRelationship
545-
from .context_studio import ContextStudio
546532
from .core.a_d_f import ADF
547533
from .core.a_i import AI
548534
from .core.a_i_application import AIApplication

pyatlan/model/assets/connection.py

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,12 @@ def __setattr__(self, name, value):
234234
"""
235235
Policy strategy is a configuration that determines whether the Atlan policy will be applied to the results of insight queries and whether the query will be rewritten. policyStrategyForSamplePreview config is applicable for sample preview call from assets screen
236236
""" # noqa: E501
237+
CONNECTION_REVERSE_SYNC_STRATEGY: ClassVar[KeywordField] = KeywordField(
238+
"connectionReverseSyncStrategy", "connectionReverseSyncStrategy"
239+
)
240+
"""
241+
Strategy configuration for reverse-sync operations on this connection, stored as a stringified JSON array. Each element specifies a source entity type and whether reverse-sync is enabled for it, e.g. [{"source_entity": "Aspects", "enabled": true}].
242+
""" # noqa: E501
237243
QUERY_USERNAME_STRATEGY: ClassVar[KeywordField] = KeywordField(
238244
"queryUsernameStrategy", "queryUsernameStrategy"
239245
)
@@ -397,6 +403,7 @@ def __setattr__(self, name, value):
397403
"preview_credential_strategy",
398404
"policy_strategy",
399405
"policy_strategy_for_sample_preview",
406+
"connection_reverse_sync_strategy",
400407
"query_username_strategy",
401408
"row_limit",
402409
"query_timeout",
@@ -574,6 +581,24 @@ def policy_strategy_for_sample_preview(
574581
policy_strategy_for_sample_preview
575582
)
576583

584+
@property
585+
def connection_reverse_sync_strategy(self) -> Optional[str]:
586+
return (
587+
None
588+
if self.attributes is None
589+
else self.attributes.connection_reverse_sync_strategy
590+
)
591+
592+
@connection_reverse_sync_strategy.setter
593+
def connection_reverse_sync_strategy(
594+
self, connection_reverse_sync_strategy: Optional[str]
595+
):
596+
if self.attributes is None:
597+
self.attributes = self.Attributes()
598+
self.attributes.connection_reverse_sync_strategy = (
599+
connection_reverse_sync_strategy
600+
)
601+
577602
@property
578603
def query_username_strategy(self) -> Optional[QueryUsernameStrategy]:
579604
return (
@@ -965,6 +990,9 @@ class Attributes(Asset.Attributes):
965990
policy_strategy_for_sample_preview: Optional[str] = Field(
966991
default=None, description=""
967992
)
993+
connection_reverse_sync_strategy: Optional[str] = Field(
994+
default=None, description=""
995+
)
968996
query_username_strategy: Optional[QueryUsernameStrategy] = Field(
969997
default=None, description=""
970998
)

pyatlan/model/assets/context_dimension.py

Lines changed: 0 additions & 104 deletions
This file was deleted.

pyatlan/model/assets/context_filter.py

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)