This is an automated email from the ASF dual-hosted git repository.
jedcunningham pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 49827b2b402 Fix grammar typos (#73145)
49827b2b402 is described below
commit 49827b2b4022223a14483fd335463fb4809bd117
Author: Jed Cunningham <[email protected]>
AuthorDate: Mon Sep 14 22:24:37 2026 -0600
Fix grammar typos (#73145)
---
.../logging-monitoring/advanced-logging-configuration.rst | 2 +-
.../docs/administration-and-deployment/modules_management.rst | 2 +-
providers/arangodb/docs/operators/index.rst | 4 ++--
.../src/airflow/providers/arangodb/example_dags/example_arangodb.py | 2 +-
providers/common/sql/docs/dialects.rst | 2 +-
providers/databricks/docs/operators/submit_run.rst | 2 +-
.../src/airflow/providers/databricks/operators/databricks.py | 2 +-
providers/github/docs/connections/github.rst | 6 +++---
providers/github/docs/operators/index.rst | 4 ++--
.../google/cloud/hooks/vertex_ai/hyperparameter_tuning_job.py | 2 +-
.../google/cloud/operators/vertex_ai/hyperparameter_tuning_job.py | 2 +-
providers/ibm/db2/docs/dialects.rst | 2 +-
.../tests/system/microsoft/azure/example_powerbi_dataset_list.py | 2 +-
.../tests/system/microsoft/azure/example_powerbi_dataset_refresh.py | 2 +-
.../tests/system/microsoft/azure/example_powerbi_workspace_list.py | 2 +-
providers/microsoft/mssql/docs/dialects.rst | 2 +-
providers/postgres/docs/dialects.rst | 2 +-
17 files changed, 21 insertions(+), 21 deletions(-)
diff --git
a/airflow-core/docs/administration-and-deployment/logging-monitoring/advanced-logging-configuration.rst
b/airflow-core/docs/administration-and-deployment/logging-monitoring/advanced-logging-configuration.rst
index 629cb506551..06269ad5ba2 100644
---
a/airflow-core/docs/administration-and-deployment/logging-monitoring/advanced-logging-configuration.rst
+++
b/airflow-core/docs/administration-and-deployment/logging-monitoring/advanced-logging-configuration.rst
@@ -64,7 +64,7 @@ Follow the steps below to enable custom logging config class:
export PYTHONPATH=~/airflow/
#. Create a directory to store the config file e.g. ``~/airflow/config``
-#. Create file called ``~/airflow/config/log_config.py`` with following the
contents:
+#. Create a file called ``~/airflow/config/log_config.py`` with the following
contents:
.. code-block:: python
diff --git
a/airflow-core/docs/administration-and-deployment/modules_management.rst
b/airflow-core/docs/administration-and-deployment/modules_management.rst
index 62f3430da22..69c40932940 100644
--- a/airflow-core/docs/administration-and-deployment/modules_management.rst
+++ b/airflow-core/docs/administration-and-deployment/modules_management.rst
@@ -379,7 +379,7 @@ The popular choices are setuptools, poetry, hatch, flit.
mkdir airflow_operators
-3. Create the file ``__init__.py`` inside the package and add following code:
+3. Create a file called ``__init__.py`` inside the package and add the
following code:
.. code-block:: python
diff --git a/providers/arangodb/docs/operators/index.rst
b/providers/arangodb/docs/operators/index.rst
index c6e787421b3..98ef03b94af 100644
--- a/providers/arangodb/docs/operators/index.rst
+++ b/providers/arangodb/docs/operators/index.rst
@@ -30,7 +30,7 @@ You can further process your result using
:class:`~airflow.providers.arangodb.op
further process the result using :class:`result_processor
<airflow.providers.arangodb.operators.arangodb.AQLOperator>`
Callable as you like.
-An example of Listing all Documents in **students** collection can be
implemented as following:
+An example of listing all documents in the **students** collection can be
implemented as follows:
.. exampleinclude::
/../../arangodb/src/airflow/providers/arangodb/example_dags/example_arangodb.py
:language: python
@@ -51,7 +51,7 @@ Sensors
Use the :class:`~airflow.providers.arangodb.sensors.arangodb.AQLSensor` to
wait for a document or collection using
AQL query in `ArangoDB <https://www.arangodb.com/>`__.
-An example for waiting a document in **students** collection with student name
**judy** can be implemented as following:
+An example of waiting for a document in the **students** collection whose
student name is **Judy** can be implemented as follows:
.. exampleinclude::
/../../arangodb/src/airflow/providers/arangodb/example_dags/example_arangodb.py
:language: python
diff --git
a/providers/arangodb/src/airflow/providers/arangodb/example_dags/example_arangodb.py
b/providers/arangodb/src/airflow/providers/arangodb/example_dags/example_arangodb.py
index 71c6346ef60..b2c7eb7eb8c 100644
---
a/providers/arangodb/src/airflow/providers/arangodb/example_dags/example_arangodb.py
+++
b/providers/arangodb/src/airflow/providers/arangodb/example_dags/example_arangodb.py
@@ -33,7 +33,7 @@ dag = DAG(
sensor = AQLSensor(
task_id="aql_sensor",
- query="FOR doc IN students FILTER doc.name == 'judy' RETURN doc",
+ query="FOR doc IN students FILTER doc.name == 'Judy' RETURN doc",
timeout=60,
poke_interval=10,
dag=dag,
diff --git a/providers/common/sql/docs/dialects.rst
b/providers/common/sql/docs/dialects.rst
index 22feedc9454..3f9126c02f6 100644
--- a/providers/common/sql/docs/dialects.rst
+++ b/providers/common/sql/docs/dialects.rst
@@ -25,7 +25,7 @@ and the :class:`~airflow.providers.jdbc.hooks.jdbc.JdbcHook`
are generic hooks w
database that has a driver for it, it needed an abstraction layer which allows
us to run specialized queries
depending of the database to which we connect and that's why dialects where
introduced.
-The default :class:`~airflow.providers.common.sql.dialects.dialect.Dialect`
class has following operations
+The default :class:`~airflow.providers.common.sql.dialects.dialect.Dialect`
class has the following operations
available which underneath use SQLAlchemy to execute, but can be overloaded
with specialized implementations
per database:
diff --git a/providers/databricks/docs/operators/submit_run.rst
b/providers/databricks/docs/operators/submit_run.rst
index f5a88056c43..b5e59f50cce 100644
--- a/providers/databricks/docs/operators/submit_run.rst
+++ b/providers/databricks/docs/operators/submit_run.rst
@@ -46,7 +46,7 @@ execution of Databricks jobs with multiple tasks, but it's
harder to detect erro
notebook_run = DatabricksSubmitRunOperator(task_id="notebook_run", json=json)
The second way to accomplish the same thing is to use the named parameters of
the ``DatabricksSubmitRunOperator`` directly. Note that there is exactly
-one named parameter for each top level parameter in the ``runs/submit``
endpoint. When using named parameters you must to specify following:
+one named parameter for each top level parameter in the ``runs/submit``
endpoint. When using named parameters you must specify the following:
* Task specification - it should be one of:
diff --git
a/providers/databricks/src/airflow/providers/databricks/operators/databricks.py
b/providers/databricks/src/airflow/providers/databricks/operators/databricks.py
index 4ce3d890d2e..540ae06cb6b 100644
---
a/providers/databricks/src/airflow/providers/databricks/operators/databricks.py
+++
b/providers/databricks/src/airflow/providers/databricks/operators/databricks.py
@@ -708,7 +708,7 @@ class DatabricksSubmitRunOperator(ResumableJobMixin,
BaseOperator):
requests. If a run with the provided token already exists, the request
does not create a new run but
returns the ID of the existing run instead. This token must have at
most 64 characters.
:param access_control_list: optional list of dictionaries representing
Access Control List (ACL) for
- a given job run. Each dictionary consists of following field -
specific subject (``user_name`` for
+ a given job run. Each dictionary consists of the following fields -
specific subject (``user_name`` for
users, or ``group_name`` for groups), and ``permission_level`` for
that subject. See Jobs API
documentation for more details.
:param wait_for_termination: if we should wait for termination of the job
run. ``True`` by default.
diff --git a/providers/github/docs/connections/github.rst
b/providers/github/docs/connections/github.rst
index 96e836a9dd1..533ab4083a1 100644
--- a/providers/github/docs/connections/github.rst
+++ b/providers/github/docs/connections/github.rst
@@ -35,12 +35,12 @@ Access Token (optional)
- GitHub Enterprise - Create token -
https://docs.github.com/en/enterprise-cloud@latest/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token/
Host (optional)
- Specify the GitHub Enterprise Url (as string) that can be used for GitHub
Enterprise
+ Specify the GitHub Enterprise URL (as a string) that can be used for a
GitHub Enterprise
connection.
- The following Url should be in following format:
+ The URL should be in the following format:
- * ``hostname``: Url for Your GitHub Enterprise Deployment.
+ * ``hostname``: URL for your GitHub Enterprise deployment.
.. code-block::
diff --git a/providers/github/docs/operators/index.rst
b/providers/github/docs/operators/index.rst
index 2e7f7a19c28..ed04fb3e687 100644
--- a/providers/github/docs/operators/index.rst
+++ b/providers/github/docs/operators/index.rst
@@ -31,7 +31,7 @@ from top level `PyGithub
<https://pygithub.readthedocs.io/>`__ methods.
You can further process the result using
:class:`result_processor
<airflow.providers.github.operators.github.GithubOperator>` Callable as you
like.
-An example of Listing all Repositories owned by a user,
**client.get_user().get_repos()** can be implemented as following:
+An example of listing all repositories owned by a user,
**client.get_user().get_repos()** can be implemented as follows:
.. exampleinclude:: /../../github/tests/system/github/example_github.py
:language: python
@@ -41,7 +41,7 @@ An example of Listing all Repositories owned by a user,
**client.get_user().get_
-An example of Listing Tags in a Repository,
**client.get_repo(full_name_or_id='apache/airflow').get_tags()** can be
implemented as following:
+An example of listing tags in a repository,
**client.get_repo(full_name_or_id='apache/airflow').get_tags()** can be
implemented as follows:
.. exampleinclude:: /../../github/tests/system/github/example_github.py
:language: python
diff --git
a/providers/google/src/airflow/providers/google/cloud/hooks/vertex_ai/hyperparameter_tuning_job.py
b/providers/google/src/airflow/providers/google/cloud/hooks/vertex_ai/hyperparameter_tuning_job.py
index 5d3be713682..3715a9d2af6 100644
---
a/providers/google/src/airflow/providers/google/cloud/hooks/vertex_ai/hyperparameter_tuning_job.py
+++
b/providers/google/src/airflow/providers/google/cloud/hooks/vertex_ai/hyperparameter_tuning_job.py
@@ -256,7 +256,7 @@ class HyperparameterTuningJobHook(GoogleBaseHook,
OperationHelper):
[Tensorboard][google.cloud.aiplatform.v1beta1.Tensorboard]
resource to which this CustomJob will
upload Tensorboard logs. Format:
``projects/{project}/locations/{location}/tensorboards/{tensorboard}`` The
training script should
- write Tensorboard to following Vertex AI environment variable:
AIP_TENSORBOARD_LOG_DIR
+ write Tensorboard to the following Vertex AI environment variable:
AIP_TENSORBOARD_LOG_DIR
`service_account` is required with provided `tensorboard`. For
more information on configuring
your service account please visit:
https://cloud.google.com/vertex-ai/docs/experiments/tensorboard-training
diff --git
a/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/hyperparameter_tuning_job.py
b/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/hyperparameter_tuning_job.py
index c4e5e353810..8303c803225 100644
---
a/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/hyperparameter_tuning_job.py
+++
b/providers/google/src/airflow/providers/google/cloud/operators/vertex_ai/hyperparameter_tuning_job.py
@@ -123,7 +123,7 @@ class
CreateHyperparameterTuningJobOperator(GoogleCloudBaseOperator):
[Tensorboard][google.cloud.aiplatform.v1beta1.Tensorboard] resource to
which this CustomJob will
upload Tensorboard logs. Format:
``projects/{project}/locations/{location}/tensorboards/{tensorboard}``
The training script should
- write Tensorboard to following Vertex AI environment variable:
AIP_TENSORBOARD_LOG_DIR
+ write Tensorboard to the following Vertex AI environment variable:
AIP_TENSORBOARD_LOG_DIR
`service_account` is required with provided `tensorboard`. For more
information on configuring
your service account please visit:
https://cloud.google.com/vertex-ai/docs/experiments/tensorboard-training
diff --git a/providers/ibm/db2/docs/dialects.rst
b/providers/ibm/db2/docs/dialects.rst
index fd070253bc7..4348aa9856e 100644
--- a/providers/ibm/db2/docs/dialects.rst
+++ b/providers/ibm/db2/docs/dialects.rst
@@ -25,7 +25,7 @@ and the :class:`~airflow.providers.jdbc.hooks.jdbc.JdbcHook`
are generic hooks w
database that has a driver for it, it needed an abstraction layer which allows
us to run specialized queries
depending of the database to which we connect and that's why dialects where
introduced.
-The default :class:`~airflow.providers.common.sql.dialects.dialect.Dialect`
class has following operations
+The default :class:`~airflow.providers.common.sql.dialects.dialect.Dialect`
class has the following operations
available which underneath use SQLAlchemy to execute, but can be overloaded
with specialized implementations
per database:
diff --git
a/providers/microsoft/azure/tests/system/microsoft/azure/example_powerbi_dataset_list.py
b/providers/microsoft/azure/tests/system/microsoft/azure/example_powerbi_dataset_list.py
index 60bbbb16fa1..fe0b24d7aad 100644
---
a/providers/microsoft/azure/tests/system/microsoft/azure/example_powerbi_dataset_list.py
+++
b/providers/microsoft/azure/tests/system/microsoft/azure/example_powerbi_dataset_list.py
@@ -33,7 +33,7 @@ from airflow.providers.microsoft.azure.operators.powerbi
import PowerBIDatasetLi
DAG_ID = "example_powerbi_dataset_list"
CONN_ID = "powerbi_default"
-# Before running this system test, you should set following environment
variables:
+# Before running this system test, you should set the following environment
variables:
GROUP_ID = os.environ.get("GROUP_ID", "None")
CLIENT_ID = os.environ.get("CLIENT_ID", None)
CLIENT_SECRET = os.environ.get("CLIENT_SECRET", None)
diff --git
a/providers/microsoft/azure/tests/system/microsoft/azure/example_powerbi_dataset_refresh.py
b/providers/microsoft/azure/tests/system/microsoft/azure/example_powerbi_dataset_refresh.py
index 88080049809..6a3d91b4bf3 100644
---
a/providers/microsoft/azure/tests/system/microsoft/azure/example_powerbi_dataset_refresh.py
+++
b/providers/microsoft/azure/tests/system/microsoft/azure/example_powerbi_dataset_refresh.py
@@ -33,7 +33,7 @@ from airflow.providers.microsoft.azure.operators.powerbi
import PowerBIDatasetRe
DAG_ID = "example_refresh_powerbi_dataset"
CONN_ID = "powerbi_default"
-# Before running this system test, you should set following environment
variables:
+# Before running this system test, you should set the following environment
variables:
DATASET_ID = os.environ.get("DATASET_ID", "None")
GROUP_ID = os.environ.get("GROUP_ID", "None")
CLIENT_ID = os.environ.get("CLIENT_ID", None)
diff --git
a/providers/microsoft/azure/tests/system/microsoft/azure/example_powerbi_workspace_list.py
b/providers/microsoft/azure/tests/system/microsoft/azure/example_powerbi_workspace_list.py
index a4c54b9900d..8a116fc63e3 100644
---
a/providers/microsoft/azure/tests/system/microsoft/azure/example_powerbi_workspace_list.py
+++
b/providers/microsoft/azure/tests/system/microsoft/azure/example_powerbi_workspace_list.py
@@ -33,7 +33,7 @@ from airflow.providers.microsoft.azure.operators.powerbi
import PowerBIWorkspace
DAG_ID = "example_powerbi_workspace_list"
CONN_ID = "powerbi_default"
-# Before running this system test, you should set following environment
variables:
+# Before running this system test, you should set the following environment
variables:
CLIENT_ID = os.environ.get("CLIENT_ID", None)
CLIENT_SECRET = os.environ.get("CLIENT_SECRET", None)
TENANT_ID = os.environ.get("TENANT_ID", None)
diff --git a/providers/microsoft/mssql/docs/dialects.rst
b/providers/microsoft/mssql/docs/dialects.rst
index 22feedc9454..3f9126c02f6 100644
--- a/providers/microsoft/mssql/docs/dialects.rst
+++ b/providers/microsoft/mssql/docs/dialects.rst
@@ -25,7 +25,7 @@ and the :class:`~airflow.providers.jdbc.hooks.jdbc.JdbcHook`
are generic hooks w
database that has a driver for it, it needed an abstraction layer which allows
us to run specialized queries
depending of the database to which we connect and that's why dialects where
introduced.
-The default :class:`~airflow.providers.common.sql.dialects.dialect.Dialect`
class has following operations
+The default :class:`~airflow.providers.common.sql.dialects.dialect.Dialect`
class has the following operations
available which underneath use SQLAlchemy to execute, but can be overloaded
with specialized implementations
per database:
diff --git a/providers/postgres/docs/dialects.rst
b/providers/postgres/docs/dialects.rst
index 22feedc9454..3f9126c02f6 100644
--- a/providers/postgres/docs/dialects.rst
+++ b/providers/postgres/docs/dialects.rst
@@ -25,7 +25,7 @@ and the :class:`~airflow.providers.jdbc.hooks.jdbc.JdbcHook`
are generic hooks w
database that has a driver for it, it needed an abstraction layer which allows
us to run specialized queries
depending of the database to which we connect and that's why dialects where
introduced.
-The default :class:`~airflow.providers.common.sql.dialects.dialect.Dialect`
class has following operations
+The default :class:`~airflow.providers.common.sql.dialects.dialect.Dialect`
class has the following operations
available which underneath use SQLAlchemy to execute, but can be overloaded
with specialized implementations
per database: