You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2020/10/24 12:38:14 UTC

[airflow] branch master updated: Fix spelling (#11821)

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

potiuk 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 6ce855a  Fix spelling (#11821)
6ce855a is described below

commit 6ce855af118daeaa4c249669079ab9d9aad23945
Author: John Bampton <jb...@users.noreply.github.com>
AuthorDate: Sat Oct 24 22:36:52 2020 +1000

    Fix spelling (#11821)
---
 airflow/providers/amazon/aws/hooks/base_aws.py             | 8 ++++----
 airflow/providers/google/cloud/hooks/bigquery.py           | 2 +-
 airflow/providers/google/cloud/operators/bigquery.py       | 2 +-
 airflow/providers/microsoft/azure/operators/azure_batch.py | 2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/airflow/providers/amazon/aws/hooks/base_aws.py b/airflow/providers/amazon/aws/hooks/base_aws.py
index 56e49b3..7e24086 100644
--- a/airflow/providers/amazon/aws/hooks/base_aws.py
+++ b/airflow/providers/amazon/aws/hooks/base_aws.py
@@ -220,8 +220,8 @@ class _SessionFactory(LoggingMixin):
                     '(Exclude this setting will default to HTTPSPNEGOAuth() ).'
                 )
         # Query the IDP
-        idp_reponse = requests.get(idp_url, auth=auth, **idp_request_kwargs)
-        idp_reponse.raise_for_status()
+        idp_response = requests.get(idp_url, auth=auth, **idp_request_kwargs)
+        idp_response.raise_for_status()
         # Assist with debugging. Note: contains sensitive info!
         xpath = saml_config['saml_response_xpath']
         log_idp_response = 'log_idp_response' in saml_config and saml_config['log_idp_response']
@@ -230,10 +230,10 @@ class _SessionFactory(LoggingMixin):
                 'The IDP response contains sensitive information,' ' but log_idp_response is ON (%s).',
                 log_idp_response,
             )
-            self.log.info('idp_reponse.content= %s', idp_reponse.content)
+            self.log.info('idp_response.content= %s', idp_response.content)
             self.log.info('xpath= %s', xpath)
         # Extract SAML Assertion from the returned HTML / XML
-        xml = etree.fromstring(idp_reponse.content)
+        xml = etree.fromstring(idp_response.content)
         saml_assertion = xml.xpath(xpath)
         if isinstance(saml_assertion, list):
             if len(saml_assertion) == 1:
diff --git a/airflow/providers/google/cloud/hooks/bigquery.py b/airflow/providers/google/cloud/hooks/bigquery.py
index 94681d6..e0845c1 100644
--- a/airflow/providers/google/cloud/hooks/bigquery.py
+++ b/airflow/providers/google/cloud/hooks/bigquery.py
@@ -2906,7 +2906,7 @@ def _validate_src_fmt_configs(
 ) -> Dict:
     """
     Validates the given src_fmt_configs against a valid configuration for the source format.
-    Adds the backward compatiblity config to the src_fmt_configs.
+    Adds the backward compatibility config to the src_fmt_configs.
 
     :param source_format: File format to export.
     :type source_format: str
diff --git a/airflow/providers/google/cloud/operators/bigquery.py b/airflow/providers/google/cloud/operators/bigquery.py
index 72dbbce..9dc30fb 100644
--- a/airflow/providers/google/cloud/operators/bigquery.py
+++ b/airflow/providers/google/cloud/operators/bigquery.py
@@ -1662,7 +1662,7 @@ class BigQueryUpdateDatasetOperator(BaseOperator):
     This operator is used to update dataset for your Project in BigQuery.
     Use ``fields`` to specify which fields of dataset to update. If a field
     is listed in ``fields`` and is ``None`` in dataset, it will be deleted.
-    If no ``fields`` are provided then all fields of provided ``dataset_reources``
+    If no ``fields`` are provided then all fields of provided ``dataset_resource``
     will be used.
 
     .. seealso::
diff --git a/airflow/providers/microsoft/azure/operators/azure_batch.py b/airflow/providers/microsoft/azure/operators/azure_batch.py
index 2e012a4..74adfa9 100644
--- a/airflow/providers/microsoft/azure/operators/azure_batch.py
+++ b/airflow/providers/microsoft/azure/operators/azure_batch.py
@@ -144,7 +144,7 @@ class AzureBatchOperator(BaseOperator):
     :type os_family: Optional[str]
 
     :param os_version: The OS family version
-    :type os_version: Optionale[str]
+    :type os_version: Optional[str]
 
     :param timeout: The amount of time to wait for the job to complete in minutes. Default is 25
     :type timeout: int