Skip to content

Commit 72a11c3

Browse files
authored
Merge pull request GoogleCloudPlatform#165 from GoogleCloudPlatform/ajayhemnani-patch-3
Update runner.py
2 parents a15d73e + 5e51706 commit 72a11c3

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

workshops/tfx-caip-tf23/lab-02-tfx-pipeline/labs/lab-02.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"metadata": {},
5757
"outputs": [],
5858
"source": [
59-
"%pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib"
59+
"%pip install --upgrade --user google-api-python-client google-auth-httplib2 google-auth-oauthlib"
6060
]
6161
},
6262
{

workshops/tfx-caip-tf23/lab-02-tfx-pipeline/labs/pipeline/runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747

4848
beam_tmp_folder = '{}/beam/tmp'.format(Config.ARTIFACT_STORE_URI)
4949
beam_pipeline_args = [
50-
'--runner=DataflowRunner',
50+
'--runner=DirectRunner',
5151
'--experiments=shuffle_mode=auto',
5252
'--project=' + Config.PROJECT_ID,
5353
'--temp_location=' + beam_tmp_folder,

workshops/tfx-caip-tf23/lab-02-tfx-pipeline/solutions/lab-02.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"metadata": {},
5757
"outputs": [],
5858
"source": [
59-
"%pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib"
59+
"%pip install --upgrade --user google-api-python-client google-auth-httplib2 google-auth-oauthlib"
6060
]
6161
},
6262
{

workshops/tfx-caip-tf23/lab-02-tfx-pipeline/solutions/pipeline/runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747

4848
beam_tmp_folder = '{}/beam/tmp'.format(Config.ARTIFACT_STORE_URI)
4949
beam_pipeline_args = [
50-
'--runner=DataflowRunner',
50+
'--runner=DirectRunner',
5151
'--experiments=shuffle_mode=auto',
5252
'--project=' + Config.PROJECT_ID,
5353
'--temp_location=' + beam_tmp_folder,

0 commit comments

Comments
 (0)