Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

fix(samples): swaps 'continue' for 'return' #93

Merged
merged 2 commits into from Mar 5, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion samples/snippets/batch_process_documents_sample_v1beta3.py
Expand Up @@ -81,7 +81,7 @@ def batch_process_documents(
# Download the contents of this blob as a bytes object.
if ".json" not in blob.name:
telpirion marked this conversation as resolved.
Show resolved Hide resolved
print(f"skipping non-supported file type {blob.name}")
return
continue
# Only parses JSON files
blob_as_bytes = blob.download_as_bytes()

Expand Down