Skip to content

Commit 634a1ab

Browse files
committed
feat: full pyatlan_v9 model regen from models@BLDX-930 (rebased on BLDX-708+master) — validate/minimize/relate + 3 new BusinessPolicy types
1 parent 1a646ed commit 634a1ab

438 files changed

Lines changed: 33661 additions & 1043 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

pyatlan/client/common/transport.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
from pyatlan.client.constants import BULK_UPDATE, INDEX_SEARCH
1919
from pyatlan.errors import ErrorCode
20-
from pyatlan.model.search import Bool, DSL, IndexSearchRequest, Prefix, Term
20+
from pyatlan.model.search import DSL, Bool, IndexSearchRequest, Prefix, Term
2121

2222
logger = logging.getLogger(__name__)
2323

pyatlan_v9/model/assets/__init__.py

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,18 @@
99
from .related_entity import RelatedEntity, SaveSemantic
1010

1111
__PYATLAN_V9_ASSETS__ = {
12+
"_init_access_control": [
13+
"AccessControl",
14+
"AuthPolicy",
15+
"AuthService",
16+
"Persona",
17+
"Purpose",
18+
"RelatedAccessControl",
19+
"RelatedAuthPolicy",
20+
"RelatedAuthService",
21+
"RelatedPersona",
22+
"RelatedPurpose",
23+
],
1224
"_init_adf": [
1325
"ADF",
1426
"AdfActivity",
@@ -153,6 +165,9 @@
153165
],
154166
"_init_business_policy": [
155167
"BusinessPolicy",
168+
"BusinessPolicyException",
169+
"BusinessPolicyIncident",
170+
"BusinessPolicyLog",
156171
"RelatedBusinessPolicy",
157172
"RelatedBusinessPolicyException",
158173
"RelatedBusinessPolicyIncident",
@@ -267,12 +282,15 @@
267282
"RelatedCustom",
268283
"RelatedCustomEntity",
269284
],
285+
"_init_data_contract": ["DataContract", "RelatedDataContract"],
270286
"_init_data_mesh": [
271287
"DataDomain",
272288
"DataMesh",
289+
"DataMeshDataset",
273290
"DataProduct",
274291
"RelatedDataDomain",
275292
"RelatedDataMesh",
293+
"RelatedDataMeshDataset",
276294
"RelatedDataProduct",
277295
"RelatedStakeholder",
278296
"RelatedStakeholderTitle",
@@ -485,12 +503,16 @@
485503
],
486504
"_init_kafka": [
487505
"Kafka",
506+
"KafkaCluster",
488507
"KafkaConsumerGroup",
508+
"KafkaField",
489509
"KafkaTopic",
490510
"RelatedAzureEventHub",
491511
"RelatedAzureEventHubConsumerGroup",
492512
"RelatedKafka",
513+
"RelatedKafkaCluster",
493514
"RelatedKafkaConsumerGroup",
515+
"RelatedKafkaField",
494516
"RelatedKafkaTopic",
495517
],
496518
"_init_looker": [
@@ -833,8 +855,10 @@
833855
"_init_schema_registry": [
834856
"RelatedSchemaRegistry",
835857
"RelatedSchemaRegistrySubject",
858+
"RelatedSchemaRegistryVersion",
836859
"SchemaRegistry",
837860
"SchemaRegistrySubject",
861+
"SchemaRegistryVersion",
838862
],
839863
"_init_semantic": [
840864
"RelatedSemantic",
@@ -941,6 +965,16 @@
941965
"TablePartition",
942966
"View",
943967
],
968+
"_init_sql_insight": [
969+
"RelatedSqlInsight",
970+
"RelatedSqlInsightBusinessQuestion",
971+
"RelatedSqlInsightFilter",
972+
"RelatedSqlInsightJoin",
973+
"SqlInsight",
974+
"SqlInsightBusinessQuestion",
975+
"SqlInsightFilter",
976+
"SqlInsightJoin",
977+
],
944978
"_init_starburst": [
945979
"RelatedStarburst",
946980
"RelatedStarburstDataset",
@@ -949,6 +983,16 @@
949983
"StarburstDataset",
950984
"StarburstDatasetColumn",
951985
],
986+
"_init_superset": [
987+
"RelatedSuperset",
988+
"RelatedSupersetChart",
989+
"RelatedSupersetDashboard",
990+
"RelatedSupersetDataset",
991+
"Superset",
992+
"SupersetChart",
993+
"SupersetDashboard",
994+
"SupersetDataset",
995+
],
952996
"_init_tableau": [
953997
"RelatedTableau",
954998
"RelatedTableauCalculatedField",

pyatlan_v9/model/assets/__init__.pyi

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@ __all__ = [
88
"TermAssignment",
99
"RelatedEntity",
1010
"SaveSemantic",
11+
"AccessControl",
12+
"AuthPolicy",
13+
"AuthService",
14+
"Persona",
15+
"Purpose",
16+
"RelatedAccessControl",
17+
"RelatedAuthPolicy",
18+
"RelatedAuthService",
19+
"RelatedPersona",
20+
"RelatedPurpose",
1121
"ADF",
1222
"AdfActivity",
1323
"AdfDataflow",
@@ -126,6 +136,9 @@ __all__ = [
126136
"RelatedBigqueryRoutine",
127137
"RelatedBigqueryTag",
128138
"BusinessPolicy",
139+
"BusinessPolicyException",
140+
"BusinessPolicyIncident",
141+
"BusinessPolicyLog",
129142
"RelatedBusinessPolicy",
130143
"RelatedBusinessPolicyException",
131144
"RelatedBusinessPolicyIncident",
@@ -224,11 +237,15 @@ __all__ = [
224237
"CustomEntity",
225238
"RelatedCustom",
226239
"RelatedCustomEntity",
240+
"DataContract",
241+
"RelatedDataContract",
227242
"DataDomain",
228243
"DataMesh",
244+
"DataMeshDataset",
229245
"DataProduct",
230246
"RelatedDataDomain",
231247
"RelatedDataMesh",
248+
"RelatedDataMeshDataset",
232249
"RelatedDataProduct",
233250
"RelatedStakeholder",
234251
"RelatedStakeholderTitle",
@@ -411,12 +428,16 @@ __all__ = [
411428
"RelatedIcebergNamespace",
412429
"RelatedIcebergTable",
413430
"Kafka",
431+
"KafkaCluster",
414432
"KafkaConsumerGroup",
433+
"KafkaField",
415434
"KafkaTopic",
416435
"RelatedAzureEventHub",
417436
"RelatedAzureEventHubConsumerGroup",
418437
"RelatedKafka",
438+
"RelatedKafkaCluster",
419439
"RelatedKafkaConsumerGroup",
440+
"RelatedKafkaField",
420441
"RelatedKafkaTopic",
421442
"Looker",
422443
"LookerDashboard",
@@ -713,8 +734,10 @@ __all__ = [
713734
"SapErpView",
714735
"RelatedSchemaRegistry",
715736
"RelatedSchemaRegistrySubject",
737+
"RelatedSchemaRegistryVersion",
716738
"SchemaRegistry",
717739
"SchemaRegistrySubject",
740+
"SchemaRegistryVersion",
718741
"RelatedSemantic",
719742
"RelatedSemanticDimension",
720743
"RelatedSemanticEntity",
@@ -806,12 +829,28 @@ __all__ = [
806829
"Table",
807830
"TablePartition",
808831
"View",
832+
"RelatedSqlInsight",
833+
"RelatedSqlInsightBusinessQuestion",
834+
"RelatedSqlInsightFilter",
835+
"RelatedSqlInsightJoin",
836+
"SqlInsight",
837+
"SqlInsightBusinessQuestion",
838+
"SqlInsightFilter",
839+
"SqlInsightJoin",
809840
"RelatedStarburst",
810841
"RelatedStarburstDataset",
811842
"RelatedStarburstDatasetColumn",
812843
"Starburst",
813844
"StarburstDataset",
814845
"StarburstDatasetColumn",
846+
"RelatedSuperset",
847+
"RelatedSupersetChart",
848+
"RelatedSupersetDashboard",
849+
"RelatedSupersetDataset",
850+
"Superset",
851+
"SupersetChart",
852+
"SupersetDashboard",
853+
"SupersetDataset",
815854
"RelatedTableau",
816855
"RelatedTableauCalculatedField",
817856
"RelatedTableauDashboard",
@@ -867,6 +906,11 @@ __all__ = [
867906
]
868907

869908
from .access_control import AccessControl as AccessControl
909+
from .access_control_related import RelatedAccessControl as RelatedAccessControl
910+
from .access_control_related import RelatedAuthPolicy as RelatedAuthPolicy
911+
from .access_control_related import RelatedAuthService as RelatedAuthService
912+
from .access_control_related import RelatedPersona as RelatedPersona
913+
from .access_control_related import RelatedPurpose as RelatedPurpose
870914
from .adf import ADF as ADF
871915
from .adf_activity import AdfActivity as AdfActivity
872916
from .adf_dataflow import AdfDataflow as AdfDataflow
@@ -981,6 +1025,7 @@ from .atlas_glossary import AtlasGlossary as AtlasGlossary
9811025
from .atlas_glossary_category import AtlasGlossaryCategory as AtlasGlossaryCategory
9821026
from .atlas_glossary_term import AtlasGlossaryTerm as AtlasGlossaryTerm
9831027
from .auth_policy import AuthPolicy as AuthPolicy
1028+
from .auth_service import AuthService as AuthService
9841029
from .aws import AWS as AWS
9851030
from .azure import Azure as Azure
9861031
from .azure_event_consumer_group import (
@@ -1011,6 +1056,11 @@ from .bigquery_related import RelatedBigqueryRoutine as RelatedBigqueryRoutine
10111056
from .bigquery_related import RelatedBigqueryTag as RelatedBigqueryTag
10121057
from .bigquery_routine import BigqueryRoutine as BigqueryRoutine
10131058
from .business_policy import BusinessPolicy as BusinessPolicy
1059+
from .business_policy_exception import (
1060+
BusinessPolicyException as BusinessPolicyException,
1061+
)
1062+
from .business_policy_incident import BusinessPolicyIncident as BusinessPolicyIncident
1063+
from .business_policy_log import BusinessPolicyLog as BusinessPolicyLog
10141064
from .business_policy_related import RelatedBusinessPolicy as RelatedBusinessPolicy
10151065
from .business_policy_related import (
10161066
RelatedBusinessPolicyException as RelatedBusinessPolicyException,
@@ -1120,10 +1170,13 @@ from .custom_entity import CustomEntity as CustomEntity
11201170
from .custom_related import RelatedCustom as RelatedCustom
11211171
from .custom_related import RelatedCustomEntity as RelatedCustomEntity
11221172
from .data_contract import DataContract as DataContract
1173+
from .data_contract_related import RelatedDataContract as RelatedDataContract
11231174
from .data_domain import DataDomain as DataDomain
11241175
from .data_mesh import DataMesh as DataMesh
1176+
from .data_mesh_dataset import DataMeshDataset as DataMeshDataset
11251177
from .data_mesh_related import RelatedDataDomain as RelatedDataDomain
11261178
from .data_mesh_related import RelatedDataMesh as RelatedDataMesh
1179+
from .data_mesh_related import RelatedDataMeshDataset as RelatedDataMeshDataset
11271180
from .data_mesh_related import RelatedDataProduct as RelatedDataProduct
11281181
from .data_mesh_related import RelatedStakeholder as RelatedStakeholder
11291182
from .data_mesh_related import RelatedStakeholderTitle as RelatedStakeholderTitle
@@ -1362,13 +1415,17 @@ from .incident import Incident as Incident
13621415
from .infrastructure import Infrastructure as Infrastructure
13631416
from .insight import Insight as Insight
13641417
from .kafka import Kafka as Kafka
1418+
from .kafka_cluster import KafkaCluster as KafkaCluster
13651419
from .kafka_consumer_group import KafkaConsumerGroup as KafkaConsumerGroup
1420+
from .kafka_field import KafkaField as KafkaField
13661421
from .kafka_related import RelatedAzureEventHub as RelatedAzureEventHub
13671422
from .kafka_related import (
13681423
RelatedAzureEventHubConsumerGroup as RelatedAzureEventHubConsumerGroup,
13691424
)
13701425
from .kafka_related import RelatedKafka as RelatedKafka
1426+
from .kafka_related import RelatedKafkaCluster as RelatedKafkaCluster
13711427
from .kafka_related import RelatedKafkaConsumerGroup as RelatedKafkaConsumerGroup
1428+
from .kafka_related import RelatedKafkaField as RelatedKafkaField
13721429
from .kafka_related import RelatedKafkaTopic as RelatedKafkaTopic
13731430
from .kafka_topic import KafkaTopic as KafkaTopic
13741431
from .link import Link as Link
@@ -1731,7 +1788,11 @@ from .schema_registry_related import RelatedSchemaRegistry as RelatedSchemaRegis
17311788
from .schema_registry_related import (
17321789
RelatedSchemaRegistrySubject as RelatedSchemaRegistrySubject,
17331790
)
1791+
from .schema_registry_related import (
1792+
RelatedSchemaRegistryVersion as RelatedSchemaRegistryVersion,
1793+
)
17341794
from .schema_registry_subject import SchemaRegistrySubject as SchemaRegistrySubject
1795+
from .schema_registry_version import SchemaRegistryVersion as SchemaRegistryVersion
17351796
from .semantic import Semantic as Semantic
17361797
from .semantic_dimension import SemanticDimension as SemanticDimension
17371798
from .semantic_entity import SemanticEntity as SemanticEntity
@@ -1830,6 +1891,18 @@ from .spark_job import SparkJob as SparkJob
18301891
from .spark_related import RelatedSpark as RelatedSpark
18311892
from .spark_related import RelatedSparkJob as RelatedSparkJob
18321893
from .sql import SQL as SQL
1894+
from .sql_insight import SqlInsight as SqlInsight
1895+
from .sql_insight_business_question import (
1896+
SqlInsightBusinessQuestion as SqlInsightBusinessQuestion,
1897+
)
1898+
from .sql_insight_filter import SqlInsightFilter as SqlInsightFilter
1899+
from .sql_insight_join import SqlInsightJoin as SqlInsightJoin
1900+
from .sql_insight_related import RelatedSqlInsight as RelatedSqlInsight
1901+
from .sql_insight_related import (
1902+
RelatedSqlInsightBusinessQuestion as RelatedSqlInsightBusinessQuestion,
1903+
)
1904+
from .sql_insight_related import RelatedSqlInsightFilter as RelatedSqlInsightFilter
1905+
from .sql_insight_related import RelatedSqlInsightJoin as RelatedSqlInsightJoin
18331906
from .sql_related import RelatedCalculationView as RelatedCalculationView
18341907
from .sql_related import RelatedColumn as RelatedColumn
18351908
from .sql_related import RelatedDatabase as RelatedDatabase
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Auto-generated by PythonMsgspecRenderer.pkl - DO NOT EDIT
2+
# SPDX-License-Identifier: Apache-2.0
3+
# Copyright 2024 Atlan Pte. Ltd.
4+
5+
"""
6+
AccessControl module exports.
7+
8+
This module provides convenient imports for all AccessControl types and their Related variants.
9+
"""
10+
11+
from .access_control import AccessControl
12+
from .access_control_related import (
13+
RelatedAccessControl,
14+
RelatedAuthPolicy,
15+
RelatedAuthService,
16+
RelatedPersona,
17+
RelatedPurpose,
18+
)
19+
from .auth_policy import AuthPolicy
20+
from .auth_service import AuthService
21+
from .persona import Persona
22+
from .purpose import Purpose
23+
24+
__all__ = [
25+
"AccessControl",
26+
"AuthPolicy",
27+
"AuthService",
28+
"Persona",
29+
"Purpose",
30+
"RelatedAccessControl",
31+
"RelatedAuthPolicy",
32+
"RelatedAuthService",
33+
"RelatedPersona",
34+
"RelatedPurpose",
35+
]

pyatlan_v9/model/assets/_init_business_policy.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
"""
1010

1111
from .business_policy import BusinessPolicy
12+
from .business_policy_exception import BusinessPolicyException
13+
from .business_policy_incident import BusinessPolicyIncident
14+
from .business_policy_log import BusinessPolicyLog
1215
from .business_policy_related import (
1316
RelatedBusinessPolicy,
1417
RelatedBusinessPolicyException,
@@ -18,6 +21,9 @@
1821

1922
__all__ = [
2023
"BusinessPolicy",
24+
"BusinessPolicyException",
25+
"BusinessPolicyIncident",
26+
"BusinessPolicyLog",
2127
"RelatedBusinessPolicy",
2228
"RelatedBusinessPolicyException",
2329
"RelatedBusinessPolicyIncident",
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Auto-generated by PythonMsgspecRenderer.pkl - DO NOT EDIT
2+
# SPDX-License-Identifier: Apache-2.0
3+
# Copyright 2024 Atlan Pte. Ltd.
4+
5+
"""
6+
DataContract module exports.
7+
8+
This module provides convenient imports for all DataContract types and their Related variants.
9+
"""
10+
11+
from .data_contract import DataContract
12+
from .data_contract_related import RelatedDataContract
13+
14+
__all__ = [
15+
"DataContract",
16+
"RelatedDataContract",
17+
]

0 commit comments

Comments
 (0)