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 3ab1f10 commit 39df47e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion documentai/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 39df47e

Please sign in to comment.