Skip to content

Commit 427e14b

Browse files
authored
Fix code-snippets in google provider (#23438)
1 parent af54630 commit 427e14b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ class DataflowCreateJavaJobOperator(BaseOperator):
319319
"labels": {"foo": "bar"},
320320
},
321321
gcp_conn_id="airflow-conn-id",
322-
dag=my - dag,
322+
dag=my_dag,
323323
)
324324
325325
"""
@@ -563,7 +563,7 @@ class DataflowTemplatedJobStartOperator(BaseOperator):
563563
"outputFile": "gs://bucket/output/my_output.txt",
564564
},
565565
gcp_conn_id="airflow-conn-id",
566-
dag=my - dag,
566+
dag=my_dag,
567567
)
568568
569569
``template``, ``dataflow_default_options``, ``parameters``, and ``job_name`` are

airflow/providers/google/cloud/transfers/s3_to_gcs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class S3ToGCSOperator(S3ListOperator):
8686
dest_gcs="gs://my.gcs.bucket/some/customers/",
8787
replace=False,
8888
gzip=True,
89-
dag=my - dag,
89+
dag=my_dag,
9090
)
9191
9292
Note that ``bucket``, ``prefix``, ``delimiter`` and ``dest_gcs`` are

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy