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 c6970c0 commit 53e68fb
Showing 1 changed file with 3 additions and 1 deletion.
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 53e68fb

Please sign in to comment.