You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by je...@apache.org on 2022/09/26 15:09:10 UTC

[airflow] 01/13: Doc: Fix typos in ``example_branch_datetime_operator`` (#26455)

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

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

commit 5cd93d541e715666f3117607cba003372830eb0e
Author: Shimoyama <60...@users.noreply.github.com>
AuthorDate: Sun Sep 18 18:04:47 2022 +0900

    Doc: Fix typos in ``example_branch_datetime_operator`` (#26455)
    
    (cherry picked from commit 4ed455674efde607180b9ebf05cd505348bcb8bd)
---
 airflow/example_dags/example_branch_datetime_operator.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/airflow/example_dags/example_branch_datetime_operator.py b/airflow/example_dags/example_branch_datetime_operator.py
index 3f37db7889..e6d91f675d 100644
--- a/airflow/example_dags/example_branch_datetime_operator.py
+++ b/airflow/example_dags/example_branch_datetime_operator.py
@@ -48,7 +48,7 @@ cond1 = BranchDateTimeOperator(
     dag=dag1,
 )
 
-# Run empty_task_1 if cond1 executes between 2020-10-10 14:00:00 and 2020-10-10 15:00:00
+# Run empty_task_11 if cond1 executes between 2020-10-10 14:00:00 and 2020-10-10 15:00:00
 cond1 >> [empty_task_11, empty_task_21]
 # [END howto_branch_datetime_operator]
 
@@ -74,7 +74,7 @@ cond2 = BranchDateTimeOperator(
 )
 
 # Since target_lower happens after target_upper, target_upper will be moved to the following day
-# Run empty_task_1 if cond2 executes between 15:00:00, and 00:00:00 of the following day
+# Run empty_task_12 if cond2 executes between 15:00:00, and 00:00:00 of the following day
 cond2 >> [empty_task_12, empty_task_22]
 # [END howto_branch_datetime_operator_next_day]
 
@@ -99,6 +99,6 @@ cond3 = BranchDateTimeOperator(
     dag=dag3,
 )
 
-# Run empty_task_3 if cond1 executes between 2020-10-10 14:00:00 and 2020-10-10 15:00:00
+# Run empty_task_13 if cond3 executes between 2020-10-10 14:00:00 and 2020-10-10 15:00:00
 cond3 >> [empty_task_13, empty_task_23]
 # [END howto_branch_datetime_operator_logical_date]