GoogleCloudPlatform / GoogleCloudPlatform/training-data-analyst

Dataflow python quest 2_Branching_Pipelines - Missing temp_location and staging_location arguments

Open
#1,477 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
8.6k
Forks
6.1k
Avg merge
4h 44m
Merged PRs (30d)
2

Description

The arguments temp_location and staging_location arguments are missing in [1].

We should add these following lines:

#line 31
parser.add_argument('--tempLocation', required=True, help='Specify Cloud Storage bucket for temp')
parser.add_argument('--stagingLocation', required=True, help='Specify Cloud Storage bucket for staging')

#line 40
options.view_as(GoogleCloudOptions).staging_location = opts.stagingLocation
options.view_as(GoogleCloudOptions).temp_location = opts.tempLocation

[1] https://github.com/GoogleCloudPlatform/training-data-analyst/blob/master/quests/dataflow_python/2_Branching_Pipelines/solution/my_pipeline.py

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.