APP-10274: Generated latest typedef models#774
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the typedef models by regenerating them from the latest type definitions. The changes primarily involve adding new asset types for AWS SageMaker Unified Studio and AtlanApp, introducing a new Partial asset hierarchy to replace deprecated GCP Dataplex metadata handling, and updating several existing assets with new relationships and fields.
Key Changes:
- Added new AWS SageMaker Unified Studio asset hierarchy (5 new classes)
- Introduced new Partial asset types (v01, v02, Field, Object) for handling incomplete/partial asset metadata
- Added AtlanApp deployment tracking assets
- Removed deprecated
catalog_has_partial_fieldsboolean field across all assets, replaced with relationship-based partial field tracking - Added new enums for SMUS metadata forms, AtlanApp deployments, and data quality rules
- Updated Asset base class to use SMUS metadata instead of GCP Dataplex metadata
Reviewed changes
Copilot reviewed 77 out of 77 changed files in this pull request and generated 15 comments.
Show a summary per file
| File | Description |
|---|---|
| pyatlan/model/structs.py | Added new structs (AssetExternalDQTestMetric, AssetSmusMetadataFormDetails) and reordered existing struct definitions |
| pyatlan/model/enums.py | Added 5 new enum types for SMUS forms, AtlanApp operations/status, and DQ rule types |
| pyatlan/model/assets/sage_maker_unified_studio*.py | New SageMaker Unified Studio asset hierarchy with 5 classes |
| pyatlan/model/assets/core/partial*.py | New Partial asset types (6 classes) for handling incomplete asset metadata |
| pyatlan/model/assets/atlan_app*.py | New AtlanApp deployment tracking assets (3 classes) |
| pyatlan/model/assets/core/catalog.py | Removed catalog_has_partial_fields boolean, added 4 new partial relationship fields |
| pyatlan/model/assets/core/asset.py | Replaced GCP Dataplex metadata with SMUS metadata form details |
| Multiple asset files | Systematic removal of catalog_has_partial_fields field across 30+ asset types |
| pyatlan/model/assets/core/mongo_d_b_collection.py | Added mongoDBColumns relationship field |
| docs/*.rst | Added documentation stubs for all new asset types |
The changes appear to be machine-generated typedef updates that are internally consistent. No issues were identified that require comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| type_name: str = Field(default="AtlanApp", allow_mutation=False) | ||
|
|
||
| @validator("type_name") | ||
| def validate_type_name(cls, v): |
There was a problem hiding this comment.
Normal methods should have 'self', rather than 'cls', as their first parameter.
| def validate_type_name(cls, v): | |
| def validate_type_name(self, v): |
| type_name: str = Field(default="AtlanAppInstalled", allow_mutation=False) | ||
|
|
||
| @validator("type_name") | ||
| def validate_type_name(cls, v): |
There was a problem hiding this comment.
Normal methods should have 'self', rather than 'cls', as their first parameter.
| def validate_type_name(cls, v): | |
| def validate_type_name(self, v): |
|
|
||
| type_name: str = Field(default="AtlanAppDeployment", allow_mutation=False) | ||
|
|
||
| @validator("type_name") |
There was a problem hiding this comment.
Normal methods should have 'self', rather than 'cls', as their first parameter.
| @validator("type_name") | |
| @validator("type_name") | |
| @classmethod |
| type_name: str = Field(default="PartialField", allow_mutation=False) | ||
|
|
||
| @validator("type_name") | ||
| def validate_type_name(cls, v): |
There was a problem hiding this comment.
Normal methods should have 'self', rather than 'cls', as their first parameter.
| type_name: str = Field(default="PartialObject", allow_mutation=False) | ||
|
|
||
| @validator("type_name") | ||
| def validate_type_name(cls, v): |
There was a problem hiding this comment.
Normal methods should have 'self', rather than 'cls', as their first parameter.
| type_name: str = Field(default="SageMakerUnifiedStudioAsset", allow_mutation=False) | ||
|
|
||
| @validator("type_name") | ||
| def validate_type_name(cls, v): |
There was a problem hiding this comment.
Normal methods should have 'self', rather than 'cls', as their first parameter.
| ) | ||
|
|
||
| @validator("type_name") | ||
| def validate_type_name(cls, v): |
There was a problem hiding this comment.
Normal methods should have 'self', rather than 'cls', as their first parameter.
| ) | ||
|
|
||
| @validator("type_name") | ||
| def validate_type_name(cls, v): |
There was a problem hiding this comment.
Normal methods should have 'self', rather than 'cls', as their first parameter.
| ) | ||
|
|
||
| @validator("type_name") | ||
| def validate_type_name(cls, v): |
There was a problem hiding this comment.
Normal methods should have 'self', rather than 'cls', as their first parameter.
| ) | ||
|
|
||
| @validator("type_name") | ||
| def validate_type_name(cls, v): |
There was a problem hiding this comment.
Normal methods should have 'self', rather than 'cls', as their first parameter.
✨ Description
https://atlanhq.atlassian.net/browse/APP-10274
🧩 Type of change
Select all that apply:
✅ How has this been tested? (e.g. screenshots, logs, workflow links)
Describe how the change was tested. Include:
📋 Checklist
Note
Adds new
AtlanAppand SageMaker Unified Studio asset types, introducesPartial/PartialV02models and relations, replaces GCP Dataplex fields with SMUS metadata, adds DQ custom SQL return type, and removescatalog_has_partial_fieldsacross assets with docs updates.AtlanApp,AtlanAppDeployment,AtlanAppInstalled.SageMakerUnifiedStudio,SageMakerUnifiedStudioProject,SageMakerUnifiedStudioAsset,SageMakerUnifiedStudioAssetSchema,SageMakerUnifiedStudioPublishedAsset,SageMakerUnifiedStudioSubscribedAsset.Partial,PartialField,PartialObject, plusPartialV02,PartialV02Field,PartialV02Objectwith relations inCatalog,DataStudio,GCS.Assetwith SMUS metadata:assetSmusMetadataFormNames,assetSmusMetadataFormKeyValueDetails,assetSmusMetadataFormDetails.Column/DremioColumnandMongoDBCollection; exposemongoDBColumnsonMongoDBCollectionandCosmosMongoDBCollection.dqRuleCustomSQLReturnType(enumDataQualityRuleCustomSQLReturnType) toDataQualityRule.AssetSmusMetadataFormDetailsstruct and enumsAssetSmusMetadataFormStatus,AtlanAppDeploymentOperation,AtlanAppDeploymentStatus,SageMakerUnifiedStudioProjectStatus.catalogHasPartialFieldsfrom numerous assets; minor refactors and forward-ref updates.docs/asset/*) and include them indocs/assets.rst.Written by Cursor Bugbot for commit 9af631c. This will update automatically on new commits. Configure here.