amoghrajesh commented on code in PR #45924:
URL: https://github.com/apache/airflow/pull/45924#discussion_r1928101216
##########
airflow/api_fastapi/execution_api/datamodels/asset.py:
##########
@@ -34,3 +34,18 @@ class AssetAliasResponse(BaseModel):
name: str
group: str
+
+
+class AssetProfile(BaseModel):
+ """
+ Profile of an Asset.
+
+ Asset will have name, uri and asset_type defined.
+ AssetNameRef will have name and asset_type defined.
+ AssetUriRef will have uri and asset_type defined.
+
+ """
+
+ name: str | None = None
+ uri: str | None = None
+ asset_type: str
Review Comment:
Fixed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]