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/08/30 07:58:23 UTC

[airflow] branch master updated: Fix typos: duplicated "the" (#10647)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 11c00bc  Fix typos: duplicated "the" (#10647)
11c00bc is described below

commit 11c00bc820483691a87cdb16d519dce8dc57c40e
Author: Masato Ohba <ov...@gmail.com>
AuthorDate: Sun Aug 30 16:57:24 2020 +0900

    Fix typos: duplicated "the" (#10647)
---
 airflow/providers/google/cloud/utils/field_validator.py             | 2 +-
 airflow/providers/google/firebase/example_dags/example_firestore.py | 2 +-
 backport_packages/refactor_backport_packages.py                     | 2 +-
 tests/api/common/experimental/test_mark_tasks.py                    | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/airflow/providers/google/cloud/utils/field_validator.py b/airflow/providers/google/cloud/utils/field_validator.py
index 4d1fb89..e991853 100644
--- a/airflow/providers/google/cloud/utils/field_validator.py
+++ b/airflow/providers/google/cloud/utils/field_validator.py
@@ -91,7 +91,7 @@ following types:
   ranges of values), booleans or any other types of fields.
 * API version: (key="api_version") if API version is specified, then the field will only
   be validated when api_version used at field validator initialization matches exactly the
-  the version specified. If you want to declare fields that are available in several
+  version specified. If you want to declare fields that are available in several
   versions of the APIs, you should specify the field as many times as many API versions
   should be supported (each time with different API version).
 * if none of the keys ("type", "regexp", "custom_validation" - the field is not validated
diff --git a/airflow/providers/google/firebase/example_dags/example_firestore.py b/airflow/providers/google/firebase/example_dags/example_firestore.py
index 6930400..5398da2 100644
--- a/airflow/providers/google/firebase/example_dags/example_firestore.py
+++ b/airflow/providers/google/firebase/example_dags/example_firestore.py
@@ -36,7 +36,7 @@ If you want to run this example, you must do the following:
 
 1. Create Google Cloud project and enable the BigQuery API
 2. Create the Firebase project
-3. Create a bucket in the same location as the the Firebase project
+3. Create a bucket in the same location as the Firebase project
 4. Grant Firebase admin account permissions to manage BigQuery. This is required to create a dataset.
 5. Create a bucket in Firebase project and
 6. Give read/write access for Firebase admin to bucket to step no. 5.
diff --git a/backport_packages/refactor_backport_packages.py b/backport_packages/refactor_backport_packages.py
index 8d551dc..954aca2 100755
--- a/backport_packages/refactor_backport_packages.py
+++ b/backport_packages/refactor_backport_packages.py
@@ -381,7 +381,7 @@ class RefactorBackportPackages:
         """
         Fixes to "amazon" providers package.
 
-        Copies some of the classes used from core Airflow to "common.utils" package of the
+        Copies some of the classes used from core Airflow to "common.utils" package of
         the provider and renames imports to use them from there.
 
         We copy typing_compat.py and change import as in example diff:
diff --git a/tests/api/common/experimental/test_mark_tasks.py b/tests/api/common/experimental/test_mark_tasks.py
index 4c48383..dd4abed 100644
--- a/tests/api/common/experimental/test_mark_tasks.py
+++ b/tests/api/common/experimental/test_mark_tasks.py
@@ -271,7 +271,7 @@ class TestMarkTasks(unittest.TestCase):
         self.assertEqual(len(altered), 14)
 
         # cannot use snapshot here as that will require drilling down the
-        # the sub dag tree essentially recreating the same code as in the
+        # sub dag tree essentially recreating the same code as in the
         # tested logic.
         self.verify_state(self.dag2, task_ids, [self.execution_dates[0]],
                           State.SUCCESS, [])