Serializer for a xcom item.
| Name | Type | Description | Notes |
|---|---|---|---|
| dag_id | str | ||
| key | str | ||
| logical_date | datetime | [optional] | |
| map_index | int | ||
| run_id | str | ||
| task_id | str | ||
| timestamp | datetime |
from airflow_client.client.models.x_com_response import XComResponse # TODO update the JSON string below json = "{}" # create an instance of XComResponse from a JSON string x_com_response_instance = XComResponse.from_json(json) # print the JSON string representation of the object print(XComResponse.to_json()) # convert the object into a dict x_com_response_dict = x_com_response_instance.to_dict() # create an instance of XComResponse from a dict x_com_response_from_dict = XComResponse.from_dict(x_com_response_dict)