airflow.models.taskinstancekey
Module Contents
Classes
Key used to identify task instance. |
class airflow.models.taskinstancekey.TaskInstanceKey[source]
Bases: NamedTuple
Key used to identify task instance.
property primary: tuple[str, str, str, int][source]
Return task instance primary key part of the key
property reduced: TaskInstanceKey[source]
Remake the key by subtracting 1 from try number to match in memory information
property key: TaskInstanceKey[source]
For API-compatibly with TaskInstance.
Returns self
with_try_number(try_number)[source]
Returns TaskInstanceKey with provided
try_number