You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by jo...@apache.org on 2023/02/10 14:26:31 UTC

[airflow] branch main updated: Remove `notes` param from TriggerDagRunOperator docstring (#29298)

This is an automated email from the ASF dual-hosted git repository.

joshfell pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 9bfe02b76a Remove `notes` param from TriggerDagRunOperator docstring (#29298)
9bfe02b76a is described below

commit 9bfe02b76a6b3712a4fa5b84e8ba7f73488812e3
Author: Josh Fell <48...@users.noreply.github.com>
AuthorDate: Fri Feb 10 09:26:19 2023 -0500

    Remove `notes` param from TriggerDagRunOperator docstring (#29298)
    
    Related: #27849
    
    As part of #27849, the `notes` functionality was removed from TriggerDagRunOperator. However, the docstring still references this param which might confuse users.
---
 airflow/operators/trigger_dagrun.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/airflow/operators/trigger_dagrun.py b/airflow/operators/trigger_dagrun.py
index a219c487d2..256923e30a 100644
--- a/airflow/operators/trigger_dagrun.py
+++ b/airflow/operators/trigger_dagrun.py
@@ -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")