Content-Length: 447304 | pFad | https://github.com/apache/airflow/commit/355dec8fea5e2ef1a9b88363f201fce4f022fef3

D7 Misc. documentation typos and language improvements (#19599) · apache/airflow@355dec8 · GitHub
Skip to content

Commit 355dec8

Browse files
authored
Misc. documentation typos and language improvements (#19599)
1 parent b9d31cd commit 355dec8

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

airflow/hooks/dbapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def get_cursor(self):
262262
@staticmethod
263263
def _generate_insert_sql(table, values, target_fields, replace, **kwargs):
264264
"""
265-
Static helper method that generate the INSERT SQL statement.
265+
Static helper method that generates the INSERT SQL statement.
266266
The REPLACE variant is specific to MySQL syntax.
267267
268268
:param table: Name of the target table

airflow/operators/generic_transfer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class GenericTransfer(BaseOperator):
3636
:type destination_table: str
3737
:param source_conn_id: source connection
3838
:type source_conn_id: str
39-
:param destination_conn_id: source connection
39+
:param destination_conn_id: destination connection
4040
:type destination_conn_id: str
4141
:param preoperator: sql statement or list of statements to be
4242
executed prior to loading the data. (templated)

airflow/providers/google/cloud/hooks/workflows.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,8 @@ def list_workflows(
212212
213213
:param filter_: Filter to restrict results to specific workflows.
214214
:type filter_: str
215-
:param order_by: Comma-separated list of fields that that
216-
specify the order of the results. Default sorting order for a field is ascending.
215+
:param order_by: Comma-separated list of fields that
216+
specifies the order of the results. Default sorting order for a field is ascending.
217217
To specify descending order for a field, append a "desc" suffix.
218218
If not specified, the results will be returned in an unspecified order.
219219
:type order_by: str

airflow/providers/google/cloud/operators/workflows.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,8 @@ class WorkflowsListWorkflowsOperator(BaseOperator):
299299
300300
:param filter_: Filter to restrict results to specific workflows.
301301
:type filter_: str
302-
:param order_by: Comma-separated list of fields that that
303-
specify the order of the results. Default sorting order for a field is ascending.
302+
:param order_by: Comma-separated list of fields that
303+
specifies the order of the results. Default sorting order for a field is ascending.
304304
To specify descending order for a field, append a "desc" suffix.
305305
If not specified, the results will be returned in an unspecified order.
306306
:type order_by: str

airflow/providers/postgres/hooks/postgres.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,8 @@ def _generate_insert_sql(
227227
table: str, values: Tuple[str, ...], target_fields: Iterable[str], replace: bool, **kwargs
228228
) -> str:
229229
"""
230-
Static helper method that generate the INSERT SQL statement.
231-
The REPLACE variant is specific to MySQL syntax.
230+
Static helper method that generates the INSERT SQL statement.
231+
The REPLACE variant is specific to PostgreSQL syntax.
232232
233233
:param table: Name of the target table
234234
:type table: str

airflow/providers/sqlite/hooks/sqlite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def get_conn(self) -> sqlite3.dbapi2.Connection:
3939
@staticmethod
4040
def _generate_insert_sql(table, values, target_fields, replace, **kwargs):
4141
"""
42-
Static helper method that generate the INSERT SQL statement.
42+
Static helper method that generates the INSERT SQL statement.
4343
The REPLACE variant is specific to MySQL syntax.
4444
4545
:param table: Name of the target table

scripts/in_container/run_generate_constraints.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ elif [[ ${GENERATE_CONSTRAINTS_MODE} == "pypi-providers" ]]; then
7979
# This variant of constraints install uses the HEAD of the branch version for 'apache-airflow' but installs
8080
# the providers from PIP-released packages at the moment of the constraint generation.
8181
#
82-
# Those constraints are actually those that that regular users use to install released version of Airflow.
82+
# Those constraints are actually those that regular users use to install released version of Airflow.
8383
# We also use those constraints after "apache-airflow" is released and the constraints are tagged with
8484
# "constraints-X.Y.Z" tag to build the production image for that version.
8585
#

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/apache/airflow/commit/355dec8fea5e2ef1a9b88363f201fce4f022fef3

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy