Skip to content

Files

Latest commit

56c1242 · May 19, 2025

History

History
33 lines (24 loc) · 1008 Bytes

TimeDelta.md

File metadata and controls

33 lines (24 loc) · 1008 Bytes

TimeDelta

TimeDelta can be used to interact with datetime.timedelta objects.

Properties

Name Type Description Notes
type str [optional] [default to 'TimeDelta']
days int
microseconds int
seconds int

Example

from airflow_client.client.models.time_delta import TimeDelta

# TODO update the JSON string below
json = "{}"
# create an instance of TimeDelta from a JSON string
time_delta_instance = TimeDelta.from_json(json)
# print the JSON string representation of the object
print(TimeDelta.to_json())

# convert the object into a dict
time_delta_dict = time_delta_instance.to_dict()
# create an instance of TimeDelta from a dict
time_delta_from_dict = TimeDelta.from_dict(time_delta_dict)

[Back to Model list] [Back to API list] [Back to README]