Skip to content

Commit

Permalink
docs: updated comments (#11950)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 578242041

Source-Link:
googleapis/googleapis@f9bd3d0

Source-Link:
googleapis/googleapis-gen@ee681d8
Copy-Tag:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRvY3VtZW50YWkvLk93bEJvdC55YW1sIiwiaCI6ImVlNjgxZDhlY2IzNDIxMDE3ZDk0ZGNjNGYwNTQyM2Q5M2RlYjRhMGQifQ==

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Oct 31, 2023
1 parent 8c78ad9 commit a0da408
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ class OcrConfig(proto.Message):
disable_character_boxes_detection (bool):
Turn off character box detector in OCR
engine. Character box detection is enabled by
default in OCR 2.0+ processors.
default in OCR 2.0 (and later) processors.
premium_features (google.cloud.documentai_v1.types.OcrConfig.PremiumFeatures):
Configurations for premium OCR features.
"""
Expand Down Expand Up @@ -299,7 +299,8 @@ class PremiumFeatures(proto.Message):
Attributes:
enable_selection_mark_detection (bool):
Turn on selection mark detector in OCR
engine. Only available in OCR 2.0+ processors.
engine. Only available in OCR 2.0 (and later)
processors.
compute_style_info (bool):
Turn on font identification model and return
font style information.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ class ProcessOptions(proto.Message):
This field is a member of `oneof`_ ``page_range``.
from_start (int):
Only process certain pages from the start,
process all if the document has less pages.
Only process certain pages from the start.
Process all if the document has fewer pages.
This field is a member of `oneof`_ ``page_range``.
from_end (int):
Expand Down
3 changes: 3 additions & 0 deletions packages/google-cloud-documentai/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@

BLACK_VERSION = "black[jupyter]==23.7.0"
ISORT_VERSION = "isort==5.11.0"

LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]


DEFAULT_PYTHON_VERSION = "3.9"

UNIT_TEST_PYTHON_VERSIONS: List[str] = ["3.7", "3.8", "3.9", "3.10", "3.11"]
Expand Down Expand Up @@ -89,6 +91,7 @@ def lint(session):
"--check",
*LINT_PATHS,
)

session.run("flake8", "google", "tests")


Expand Down

0 comments on commit a0da408

Please sign in to comment.