Skip to content

Commit

Permalink
Fix doci string in API entry. (apache#13300)
Browse files Browse the repository at this point in the history
Co-authored-by: aqua.wang <[email protected]>
  • Loading branch information
aqua7regia and aqua.wang authored Dec 24, 2020
1 parent 5185d81 commit b600dfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion airflow/api/common/experimental/get_dag_run_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@


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
Expand Down
2 changes: 1 addition & 1 deletion airflow/api/common/experimental/get_task_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@


def get_task_instance(dag_id: str, task_id: str, execution_date: datetime) -> TaskInstance:
"""Return the task object identified by the given dag_id and task_id."""
"""Return the task instance identified by the given dag_id, task_id and execution_date."""
dag = check_and_get_dag(dag_id, task_id)

dagrun = check_and_get_dagrun(dag=dag, execution_date=execution_date)
Expand Down

0 comments on commit b600dfd

Please sign in to comment.