Skip to content

Commit 067b5e4

Browse files
committed
Add enums to support QuickSight and Kafka assets
1 parent e39868d commit 067b5e4

File tree

7 files changed

+1309
-116
lines changed

7 files changed

+1309
-116
lines changed

.github/workflows/pytest.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ jobs:
3030
- name: Test with pytest
3131
env: # Or as an environment variable
3232
ATLAN_API_KEY: ${{ secrets.MARK_ATLAN_API_KEY }}
33-
ATLAN_HOST: https://mark.atlan.com
33+
ATLAN_BASE_URL: https://mark.atlan.com
3434
run: |
3535
pytest

pyatlan/generator/generate_from_typdefs.py

+6
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@
4040
("query_username_strategy", "QueryUsernameStrategy"),
4141
("google_datastudio_asset_type", "GoogleDatastudioAssetType"),
4242
("powerbi_endorsement", "PowerbiEndorsement"),
43+
("kafka_topic_compression_type", "KafkaTopicCompressionType"),
44+
("kafka_topic_cleanup_policy", "PowerbiEndorsement"),
45+
("quick_sight_folder_type", "QuickSightFolderType"),
46+
("quick_sight_dataset_field_type", "QuickSightDatasetFieldType"),
47+
("quick_sight_analysis_status", "QuickSightAnalysisStatus"),
48+
("quick_sight_dataset_import_mode", "QuickSightDatasetImportMode"),
4349
]
4450
ARRAY_REPLACEMENTS = [("array<string>", "set{string}")]
4551

pyatlan/generator/templates/entity.jinja2

+6
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ from pyatlan.model.enums import (
2727
CertificateStatus,
2828
EntityStatus,
2929
IconType,
30+
KafkaTopicCompressionType,
31+
QuickSightFolderType,
32+
QuickSightDatasetFieldType,
33+
QuickSightAnalysisStatus,
34+
QuickSightDatasetImportMode,
3035
QueryUsernameStrategy,
3136
SourceCostUnitType,
3237
GoogleDatastudioAssetType,
@@ -42,6 +47,7 @@ from pyatlan.model.structs import (
4247
GoogleLabel,
4348
GoogleTag,
4449
Histogram,
50+
KafkaTopicConsumption,
4551
PopularityInsights,
4652
)
4753
from pyatlan.utils import next_id

0 commit comments

Comments
 (0)