Skip to content

Commit

Permalink
Fix spelling (#11821)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbampton committed Oct 24, 2020
1 parent aacf602 commit 6ce855a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions airflow/providers/amazon/aws/hooks/base_aws.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,8 @@ def _fetch_saml_assertion_using_http_spegno_auth(self, saml_config: Dict[str, An
'(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']
Expand All @@ -230,10 +230,10 @@ def _fetch_saml_assertion_using_http_spegno_auth(self, saml_config: Dict[str, An
'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:
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/google/cloud/hooks/bigquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/google/cloud/operators/bigquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -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::
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/microsoft/azure/operators/azure_batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6ce855a

Please sign in to comment.