AssetMetadata

pydantic model openapi_client.models.asset_metadata.AssetMetadata

PUT /datasources/{datasource_id}/assets/{asset_id} body. Shape depends on action. Default (no action): CustomMetadata and/or BusinessMetadata.Keywords. action=review_all|review_suggestion: ReviewAction (approve/decline); Columns required for review_suggestion. action=update-glossary-details: map of column name to a list of {TermId, GlossaryId} objects (additionalProperties).

Fields:
field custom_metadata: Optional[Dict[str, Any]] = None (alias 'CustomMetadata')
field business_metadata: Optional[AssetMetadataBusinessMetadata] = None (alias 'BusinessMetadata')
field review_action: Optional[StrictStr] = None (alias 'ReviewAction')

approve or decline (AI review actions)

field columns: Optional[Dict[str, Dict[str, Any]]] = None (alias 'Columns')

Column suggestion selections for review_suggestion.

field additional_properties: Dict[str, Any] = {}
to_str()

Returns the string representation of the model using alias

Return type:

str

to_json()

Returns the JSON representation of the model using alias

Return type:

str

classmethod from_json(json_str)

Create an instance of AssetMetadata from a JSON string

Return type:

Optional[Self]

to_dict()

Return the dictionary representation of the model using alias.

This has the following differences from calling pydantic’s self.model_dump(by_alias=True):

  • None is only added to the output dict for nullable fields that were set at model initialization. Other fields with value None are ignored.

  • Fields in self.additional_properties are added to the output dict.

Return type:

Dict[str, Any]

classmethod from_dict(obj)

Create an instance of AssetMetadata from a dict

Return type:

Optional[Self]