Skip to content

Commit

Permalink
Remove notes param from TriggerDagRunOperator docstring
Browse files Browse the repository at this point in the history
Related: apache#27849

As part of apache#27849, the `notes` functionality was removed from TriggerDagRunOperator. However, the docstring still references this param which might confuse users.
  • Loading branch information
josh-fell committed Feb 8, 2023
1 parent fdac67b commit 300fd52
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion airflow/operators/trigger_dagrun.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ class TriggerDagRunOperator(BaseOperator):
(default: 60)
:param allowed_states: List of allowed states, default is ``['success']``.
:param failed_states: List of failed or dis-allowed states, default is ``None``.
:param notes: Set a custom note for the newly created DagRun.
"""

template_fields: Sequence[str] = ("trigger_dag_id", "trigger_run_id", "execution_date", "conf")
Expand Down

0 comments on commit 300fd52

Please sign in to comment.