diff --git a/samples/snippets/process_document_sample_v1beta3.py b/samples/snippets/process_document_sample_v1beta3.py index 29e66b19..5b045708 100644 --- a/samples/snippets/process_document_sample_v1beta3.py +++ b/samples/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()