You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by xd...@apache.org on 2020/12/16 18:22:29 UTC

[airflow] branch v2-0-test updated: Fix doc string error (#13103)

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

xddeng pushed a commit to branch v2-0-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v2-0-test by this push:
     new 09358ac  Fix doc string error (#13103)
09358ac is described below

commit 09358ac0b50525efc8f7790b83d16f10cd766a23
Author: AquaRegia <aq...@gmail.com>
AuthorDate: Thu Dec 17 02:21:23 2020 +0800

    Fix doc string error (#13103)
    
    Fix doc string error.
---
 airflow/api/common/experimental/get_dag_run_state.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/airflow/api/common/experimental/get_dag_run_state.py b/airflow/api/common/experimental/get_dag_run_state.py
index 7be4541..ca71a9a 100644
--- a/airflow/api/common/experimental/get_dag_run_state.py
+++ b/airflow/api/common/experimental/get_dag_run_state.py
@@ -23,7 +23,7 @@ from airflow.api.common.experimental import check_and_get_dag, check_and_get_dag
 
 
 def get_dag_run_state(dag_id: str, execution_date: datetime) -> Dict[str, str]:
-    """Return the task object identified by the given dag_id and task_id.
+    """Return the Dag Run state identified by the given dag_id and execution_date.
 
     :param dag_id: DAG id
     :param execution_date: execution date