feat: Add blocks to PageWrapper - #107
Conversation
Add feature to get the blocks present in the Document AI JSON response as a Python list of documentai.Document.Page.Block objects, similar to the way to get the paragraphs and lines.
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
|
Thanks for the contribution! Please write Unit Tests for your new function They should go in https://github.com/googleapis/python-documentai-toolbox/blob/main/tests/unit/test_page.py And make sure that the other unit tests still pass. |
Add Unit Tests for #d9e6ada
Thanks for your prompt help, I've added the Unit Tests. |
|
Thanks @holtskinner for your prompt help 🙂 |
Add feature to get the blocks present in the Document AI JSON response as a Python list of documentai.Document.Page.Block objects, similar to the way to get the paragraphs and lines.
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes #106 🦕