You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ut...@apache.org on 2024/07/02 10:53:55 UTC
(airflow) 30/49: fix typos in example of DAG parameters (#40400)
This is an automated email from the ASF dual-hosted git repository.
utkarsharma pushed a commit to branch v2-9-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 2b83c3cd76190350cf5999d6e3e583eecdeebb80
Author: Nathan Rousseau <le...@protonmail.com>
AuthorDate: Mon Jun 24 14:28:23 2024 +0200
fix typos in example of DAG parameters (#40400)
* fix: typo in example_params_ui_tutorial.py (des -> does)
Modify "des not allow" to "does not allow"
* fix typo in example of DAG parameters
Modify a line of example_params_ui_tutorial.py to remove a trailing '.e' at the end of a comment.
Before:
# Note: Value display mapping does not need to be complete.s
After:
# Note: Value display mapping does not need to be complete
(cherry picked from commit e8a8208477a4dd91d4b89b3ca5c964a3ea69d2ab)
---
airflow/example_dags/example_params_ui_tutorial.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/airflow/example_dags/example_params_ui_tutorial.py b/airflow/example_dags/example_params_ui_tutorial.py
index 82b38d07ac..5a48f5992f 100644
--- a/airflow/example_dags/example_params_ui_tutorial.py
+++ b/airflow/example_dags/example_params_ui_tutorial.py
@@ -101,7 +101,7 @@ with DAG(
"Quebec,Romeo,Sierra,Tango,Uniform,Victor,Whiskey,X-ray,Yankee,Zulu"
).split(","),
),
- # If you want to select multiple items from a fixed list JSON schema des not allow to use enum
+ # If you want to select multiple items from a fixed list JSON schema does not allow to use enum
# In this case the type "array" is being used together with "examples" as pick list
"multi_select": Param(
["two", "three"],
@@ -122,7 +122,7 @@ with DAG(
"1": "One box of choccolate",
"2": "Two bananas",
"3": "Three apples",
- # Note: Value display mapping does not need to be complete.s
+ # Note: Value display mapping does not need to be complete
},
),
# An array of numbers