Skip to content

Commit 2ecbf7b

Browse files
renovate-botgcf-owl-bot[bot]holtskinner
authored
chore(deps): update all dependencies (#297)
--------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Holt Skinner <[email protected]>
1 parent f501652 commit 2ecbf7b

20 files changed

Lines changed: 24 additions & 21 deletions

packages/google-cloud-documentai-toolbox/docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
# All configuration values have a default; values that are commented out
2525
# serve to show the default.
2626

27-
import sys
2827
import os
2928
import shlex
29+
import sys
3030

3131
# If extensions (or modules to document with autodoc) are in another directory,
3232
# add these directories to sys.path here. If the directory is relative to the

packages/google-cloud-documentai-toolbox/google/cloud/documentai_toolbox/converters/config/bbox_conversion.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,10 @@
1616

1717
from typing import Callable, List, Optional
1818

19-
from google.cloud import documentai
20-
from google.cloud.documentai_toolbox.converters.config.block import Block
21-
2219
from intervaltree import intervaltree
2320

21+
from google.cloud import documentai
22+
from google.cloud.documentai_toolbox.converters.config.block import Block
2423

2524
PIXEL_CONVERSION_RATES = {
2625
"pxl": 1,

packages/google-cloud-documentai-toolbox/google/cloud/documentai_toolbox/wrappers/document.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
from google.api_core.operation import from_gapic as operation_from_gapic
2727
from google.cloud.vision import AnnotateFileResponse
2828
from google.longrunning.operations_pb2 import GetOperationRequest
29-
3029
from jinja2 import Environment, PackageLoader
3130
from pikepdf import Pdf
3231

packages/google-cloud-documentai-toolbox/google/cloud/documentai_toolbox/wrappers/page.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
"""Wrappers for Document AI Page type."""
1717

1818
from abc import ABC
19-
2019
import dataclasses
21-
from typing import cast, List, Optional, Type
20+
from typing import List, Optional, Type, cast
2221

2322
import pandas as pd
2423

packages/google-cloud-documentai-toolbox/owlbot.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
import synthtool as s
2020
from synthtool import gcp
21-
from synthtool.languages import python
2221

2322
REPO_ROOT = pathlib.Path(__file__).parent.absolute()
2423

@@ -41,4 +40,4 @@
4140
# Run blacken session
4241
# ----------------------------------------------------------------------------
4342

44-
s.shell.run(["nox", "-s", "blacken"], hide_output=False)
43+
s.shell.run(["nox", "-s", "format"], hide_output=False)

packages/google-cloud-documentai-toolbox/samples/snippets/create_batches_sample.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ def create_batches_sample(
4747
request = documentai.BatchProcessRequest(
4848
name="processor_name", input_documents=batch
4949
)
50+
print(request)
5051

5152

5253
# [END documentai_toolbox_create_batches]

packages/google-cloud-documentai-toolbox/samples/snippets/noxfile.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from __future__ import annotations
16-
from __future__ import print_function
15+
from __future__ import annotations, print_function
1716

1817
import glob
1918
import os
@@ -23,7 +22,6 @@
2322

2423
import nox
2524

26-
2725
# WARNING - WARNING - WARNING - WARNING - WARNING
2826
# WARNING - WARNING - WARNING - WARNING - WARNING
2927
# DO NOT EDIT THIS FILE EVER!

packages/google-cloud-documentai-toolbox/samples/snippets/quickstart_sample.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
from typing import Optional
1919

2020
from google.cloud import documentai
21-
from google.cloud.documentai_toolbox import document
22-
from google.cloud.documentai_toolbox import gcs_utilities
21+
from google.cloud.documentai_toolbox import document, gcs_utilities
2322

2423
# TODO(developer): Uncomment these variables before running the sample.
2524
# Given a Document JSON or sharded Document JSON in path gs://bucket/path/to/folder
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
pytest==8.1.1
22
mock==5.1.0
3-
google-cloud-bigquery==3.20.0
3+
google-cloud-bigquery==3.20.1
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
google-cloud-bigquery==3.20.0
1+
google-cloud-bigquery==3.20.1
22
google-cloud-documentai==2.24.2
33
google-cloud-storage==2.16.0
44
google-cloud-documentai-toolbox==0.13.1a0

0 commit comments

Comments
 (0)