8000 Fix `tempLocation` Dataflow parameter in Airflow example (#7139) · orossini/python-docs-samples@cdd2395 · GitHub
[go: up one dir, main page]

Skip to content

Commit cdd2395

Browse files
lcaggioleahecole
andauthored
Fix tempLocation Dataflow parameter in Airflow example (GoogleCloudPlatform#7139)
* Fix `tempLocation` Dataflow parameter Fix `tempLocation` parameter as per Airflow documentation at https://airflow.apache.org/docs/apache-airflow-providers-google/stable/_api/airflow/providers/google/cloud/operators/dataflow/index.html * Fix Airflow 2 sample Co-authored-by: Leah E. Cole <6719667+leahecole@users.noreply.github.com>
1 parent 7387c94 commit cdd2395

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer/airflow_1_samples/dataflowtemplateoperator_tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
# Set to your zone
5454
"zone": gce_zone,
5555
# This is a subfolder for storing temporary files, like the staged pipeline job.
56-
"temp_location": bucket_path + "/tmp/",
56+
"tempLocation": bucket_path + "/tmp/",
5757
},
5858
}
5959

composer/workflows/dataflowtemplateoperator_tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
# Set to your zone
4949
"zone": gce_zone,
5050
# This is a subfolder for storing temporary files, like the staged pipeline job.
51-
"temp_location": bucket_path + "/tmp/",
51+
"tempLocation": bucket_path + "/tmp/",
5252
},
5353
}
5454

0 commit comments

Comments
 (0)
0