Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4d385e6

Browse files
committed
Merge branch 'workflows' of https://github.com/GoogleCloudPlatform/python-docs-samples into workflows
2 parents 98a2a8c + a43fa5a commit 4d385e6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

automl/cloud-client/batch_predict_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ def test_batch_predict(capsys):
3737
)
3838
out, _ = capsys.readouterr()
3939
assert (
40-
"The model is either not found or not supported for prediction yet"
40+
"does not exist"
4141
in out
4242
)
4343
except Exception as e:
4444
assert (
45-
"The model is either not found or not supported for prediction yet"
45+
"does not exist"
4646
in e.message
4747
)

storage/cloud-client/storage_generate_upload_signed_url_v4.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def generate_upload_signed_url_v4(bucket_name, blob_name):
3939
version="v4",
4040
# This URL is valid for 15 minutes
4141
expiration=datetime.timedelta(minutes=15),
42-
# Allow GET requests using this URL.
42+
# Allow PUT requests using this URL.
4343
method="PUT",
4444
content_type="application/octet-stream",
4545
)

0 commit comments

Comments
 (0)