Skip to content

Commit

Permalink
Added layout field
Browse files Browse the repository at this point in the history
  • Loading branch information
holtskinner committed Jun 12, 2024
1 parent 937be2b commit 376866c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google/cloud/documentai_toolbox/wrappers/page.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ def _get_children_of_element(
<= child.documentai_object.layout.text_anchor.text_segments[0].start_index
< end_index
and start_index
< child.documentai_object.text_anchor.text_segments[0].end_index
< child.documentai_object.layout.text_anchor.text_segments[0].end_index
<= end_index
]

Expand Down

0 comments on commit 376866c

Please sign in to comment.