From d522922aa91c3c0715e646a9e135478042c68cda Mon Sep 17 00:00:00 2001 From: Eric Schmidt Date: Wed, 9 Dec 2020 09:44:14 -0800 Subject: [PATCH] fix: moves import statment inside region tags (#71) --- documentai/snippets/process_document_sample_v1beta3.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentai/snippets/process_document_sample_v1beta3.py b/documentai/snippets/process_document_sample_v1beta3.py index 29e66b193839..5b04570863c8 100644 --- a/documentai/snippets/process_document_sample_v1beta3.py +++ b/documentai/snippets/process_document_sample_v1beta3.py @@ -13,8 +13,6 @@ # limitations under the License. # -from google.cloud import documentai_v1beta3 as documentai - # [START documentai_process_document] # TODO(developer): Uncomment these variables before running the sample. @@ -27,6 +25,8 @@ def process_document_sample( project_id: str, location: str, processor_id: str, file_path: str ): + from google.cloud import documentai_v1beta3 as documentai + # Instantiates a client client = documentai.DocumentProcessorServiceClient()