Skip to content

Commit

Permalink
samples: moves import statement within region tags (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
telpirion authored Aug 13, 2021
1 parent 45acae0 commit 8c83118
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion document_ai/snippets/quickstart_sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@


# [START documentai_quickstart]
from google.cloud import documentai_v1 as documentai


# TODO(developer): Uncomment these variables before running the sample.
# project_id= 'YOUR_PROJECT_ID'
Expand All @@ -26,6 +26,8 @@

def quickstart(project_id: str, location: str, processor_id: str, file_path: str):

from google.cloud import documentai_v1 as documentai

# You must set the api_endpoint if you use a location other than 'us', e.g.:
opts = {}
if location == "eu":
Expand Down

0 comments on commit 8c83118

Please sign in to comment.