You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by di...@apache.org on 2020/09/17 02:22:41 UTC

[airflow] branch v1-10-test updated: Fix typos: duplicated "the" (#10647)

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

dimberman pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v1-10-test by this push:
     new cc69249  Fix typos: duplicated "the" (#10647)
cc69249 is described below

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

    Fix typos: duplicated "the" (#10647)
    
    (cherry picked from commit 11c00bc820483691a87cdb16d519dce8dc57c40e)
---
 airflow/contrib/utils/gcp_field_validator.py     | 2 +-
 tests/api/common/experimental/test_mark_tasks.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/airflow/contrib/utils/gcp_field_validator.py b/airflow/contrib/utils/gcp_field_validator.py
index 819a597..7780744 100644
--- a/airflow/contrib/utils/gcp_field_validator.py
+++ b/airflow/contrib/utils/gcp_field_validator.py
@@ -92,7 +92,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/tests/api/common/experimental/test_mark_tasks.py b/tests/api/common/experimental/test_mark_tasks.py
index 530b9e1..dc56929 100644
--- a/tests/api/common/experimental/test_mark_tasks.py
+++ b/tests/api/common/experimental/test_mark_tasks.py
@@ -268,7 +268,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, [])