Removed a set of deprecations in from airflow.models.taskinstance
.
- Removed deprecated arg
activate_dag_runs
fromTaskInstance.clear_task_instances()
. Please usedag_run_state
instead.- Removed deprecated arg
execution_date
fromTaskInstance.__init__()
. Please userun_id
instead.- Removed deprecated property
_try_number
fromTaskInstance
. Please usetry_number
instead.- Removed deprecated property
prev_attempted_tries
fromTaskInstance
. Please usetry_number
instead.- Removed deprecated property
next_try_number
fromTaskInstance
. Please usetry_number + 1
instead.- Removed deprecated property
previous_ti
fromTaskInstance
. Please useget_previous_ti
instead.- Removed deprecated property
previous_ti_success
fromTaskInstance
. Please useget_previous_ti
instead.- Removed deprecated property
previous_start_date_success
fromTaskInstance
. Please useget_previous_start_date
instead.- Removed deprecated function
as_dict
fromSimpleTaskInstance
. Please useBaseSerialization.serialize
instead.- Removed deprecated function
from_dict
fromSimpleTaskInstance
. Please useBaseSerialization.deserialize
instead.