Skip to content

Commit ec81cf8

Browse files
committed
Fixing some typos and spelling errors
1 parent a92319a commit ec81cf8

File tree

18 files changed

+24
-24
lines changed

18 files changed

+24
-24
lines changed

contributing-docs/testing/task_sdk_integration_tests.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ reproducibility:
8585
breeze testing task-sdk-integration-tests task_sdk_tests/test_task_sdk_health.py
8686
8787
# Run with custom Docker image
88-
DOCKER_IMAGE=my-custom-airflow-imahge:latest breeze testing task-sdk-integration-tests
88+
DOCKER_IMAGE=my-custom-airflow-image:latest breeze testing task-sdk-integration-tests
8989
9090
Running in Your Current Virtual Environment
9191
...........................................

dev/breeze/src/airflow_breeze/commands/ci_image_commands.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -930,7 +930,7 @@ def export_mount_cache(
930930
cache_file: Path,
931931
):
932932
"""
933-
Export content of the the mount cache to a directory.
933+
Export content of the mount cache to a directory.
934934
"""
935935
perform_environment_checks()
936936
make_sure_builder_configured(params=BuildCiParams(builder=builder))
@@ -995,7 +995,7 @@ def import_mount_cache(
995995
cache_file: Path,
996996
):
997997
"""
998-
Export content of the the mount cache to a directory.
998+
Export content of the mount cache to a directory.
999999
"""
10001000
perform_environment_checks()
10011001
make_sure_builder_configured(params=BuildCiParams(builder=builder))

providers/amazon/src/airflow/providers/amazon/aws/hooks/base_aws.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,7 @@ def async_conn(self):
790790
async def get_async_conn(self):
791791
"""Get an aiobotocore client to use for async operations."""
792792
# We have to wrap the call `self.get_client_type` in another call `_get_async_conn`,
793-
# because one of it's arguments `self.region_name` is a `@property` decorated function
793+
# because one of its arguments `self.region_name` is a `@property` decorated function
794794
# calling the cached property `self.conn_config` at the end.
795795
return await sync_to_async(self._get_async_conn)()
796796

providers/amazon/src/airflow/providers/amazon/aws/hooks/chime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class ChimeWebhookHook(HttpHook):
3333
"""
3434
Interact with Amazon Chime Webhooks to create notifications.
3535
36-
.. warning:: This hook is only designed to work with web hooks and not chat bots.
36+
.. warning:: This hook is only designed to work with web hooks and not chatbots.
3737
3838
:param chime_conn_id: :ref:`Amazon Chime Connection ID <howto/connection:chime>`
3939
with Endpoint as `https://hooks.chime.aws` and the webhook token

providers/amazon/src/airflow/providers/amazon/aws/operators/cloud_formation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
class CloudFormationCreateStackOperator(AwsBaseOperator[CloudFormationHook]):
3434
"""
35-
An operator that creates a AWS CloudFormation stack.
35+
An operator that creates an AWS CloudFormation stack.
3636
3737
.. seealso::
3838
For more information on how to use this operator, take a look at the guide:
@@ -68,7 +68,7 @@ def execute(self, context: Context):
6868

6969
class CloudFormationDeleteStackOperator(AwsBaseOperator[CloudFormationHook]):
7070
"""
71-
An operator that deletes a AWS CloudFormation stack.
71+
An operator that deletes an AWS CloudFormation stack.
7272
7373
.. seealso::
7474
For more information on how to use this operator, take a look at the guide:

providers/amazon/src/airflow/providers/amazon/aws/transfers/azure_blob_to_s3.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ class AzureBlobStorageToS3Operator(BaseOperator):
4949
:param prefix: Prefix string which filters objects whose name begin with
5050
this prefix. (templated)
5151
:param delimiter: The delimiter by which you want to filter the objects. (templated)
52-
For e.g to lists the CSV files from in a directory in GCS you would use
52+
For e.g. to lists the CSV files from in a directory in GCS you would use
5353
delimiter='.csv'.
5454
:param aws_conn_id: Connection id of the S3 connection to use
5555
:param dest_s3_key: The base S3 key to be used to store the files. (templated)
5656
:param dest_verify: Whether or not to verify SSL certificates for S3 connection.
57-
By default SSL certificates are verified.
57+
By default, SSL certificates are verified.
5858
You can provide the following values:
5959
6060
- ``False``: do not validate SSL certificates. SSL will still be used

providers/apache/beam/src/airflow/providers/apache/beam/operators/beam.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ class BeamBasePipelineOperator(BaseOperator, BeamDataflowMixin, ABC):
160160
"""
161161
Abstract base class for Beam Pipeline Operators.
162162
163-
:param runner: Runner on which pipeline will be run. By default "DirectRunner" is being used.
163+
:param runner: Runner on which pipeline will be run. By default, "DirectRunner" is being used.
164164
Other possible options: DataflowRunner, SparkRunner, FlinkRunner, PortableRunner.
165165
See: :class:`~providers.apache.beam.hooks.beam.BeamRunnerType`
166166
See: https://beam.apache.org/documentation/runners/capability-matrix/

providers/celery/src/airflow/providers/celery/executors/celery_executor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ def _process_workloads(self, workloads: Sequence[workloads.All]) -> None:
350350
def _send_tasks(self, task_tuples_to_send: Sequence[TaskInstanceInCelery]):
351351
first_task = next(t[-1] for t in task_tuples_to_send)
352352

353-
# Celery state queries will stuck if we do not use one same backend
353+
# Celery state queries will be stuck if we do not use one same backend
354354
# for all tasks.
355355
cached_celery_backend = first_task.backend
356356

providers/celery/src/airflow/providers/celery/executors/celery_executor_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def on_celery_import_modules(*args, **kwargs):
111111
"""
112112
Preload some "expensive" airflow modules once, so other task processes won't have to import it again.
113113
114-
Loading these for each task adds 0.3-0.5s *per task* before the task can run. For long running tasks this
114+
Loading these for each task adds 0.3-0.5s *per task* before the task can run. For long-running tasks this
115115
doesn't matter, but for short tasks this starts to be a noticeable impact.
116116
"""
117117
import jinja2.ext # noqa: F401

providers/google/src/airflow/providers/google/cloud/hooks/cloud_sql.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ class CloudSqlProxyRunner(LoggingMixin):
508508
:param project_id: Optional id of the Google Cloud project to connect to - it overwrites
509509
default project id taken from the Google Cloud connection.
510510
:param sql_proxy_version: Specific version of SQL proxy to download
511-
(for example 'v1.13'). By default latest version is downloaded.
511+
(for example 'v1.13'). By default, latest version is downloaded.
512512
:param sql_proxy_binary_path: If specified, then proxy will be
513513
used from the path specified rather than dynamically generated. This means
514514
that if the binary is not present in that path it will also be downloaded.
@@ -693,7 +693,7 @@ def stop_proxy(self) -> None:
693693
self.log.info("Skipped removing proxy - it was not downloaded: %s", self.sql_proxy_path)
694694
if os.path.isfile(self.credentials_path):
695695
self.log.info("Removing generated credentials file %s", self.credentials_path)
696-
# Here file cannot be delete by concurrent task (each task has its own copy)
696+
# Here file cannot be deleted by concurrent task (each task has its own copy)
697697
os.remove(self.credentials_path)
698698

699699
def get_proxy_version(self) -> str | None:

0 commit comments

Comments
 (0)