Skip to content

Commit d522922

Browse files
authored
fix: moves import statment inside region tags (#71)
1 parent 2c75b23 commit d522922

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

documentai/snippets/process_document_sample_v1beta3.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
# limitations under the License.
1414
#
1515

16-
from google.cloud import documentai_v1beta3 as documentai
17-
1816
# [START documentai_process_document]
1917

2018
# TODO(developer): Uncomment these variables before running the sample.
@@ -27,6 +25,8 @@
2725
def process_document_sample(
2826
project_id: str, location: str, processor_id: str, file_path: str
2927
):
28+
from google.cloud import documentai_v1beta3 as documentai
29+
3030
# Instantiates a client
3131
client = documentai.DocumentProcessorServiceClient()
3232

0 commit comments

Comments
 (0)