Asset serializer for responses.
| Name | Type | Description | Notes |
|---|---|---|---|
| aliases | List[AssetAliasResponse] | ||
| consuming_tasks | List[TaskInletAssetReference] | ||
| created_at | datetime | ||
| extra | Dict[str, object] | [optional] | |
| group | str | ||
| id | int | ||
| last_asset_event | LastAssetEventResponse | [optional] | |
| name | str | ||
| producing_tasks | List[TaskOutletAssetReference] | ||
| scheduled_dags | List[DagScheduleAssetReference] | ||
| updated_at | datetime | ||
| uri | str |
from airflow_client.client.models.asset_response import AssetResponse
# TODO update the JSON string below
json = "{}"
# create an instance of AssetResponse from a JSON string
asset_response_instance = AssetResponse.from_json(json)
# print the JSON string representation of the object
print(AssetResponse.to_json())
# convert the object into a dict
asset_response_dict = asset_response_instance.to_dict()
# create an instance of AssetResponse from a dict
asset_response_from_dict = AssetResponse.from_dict(asset_response_dict)