Skip to content

Commit

Permalink
chore(deps): update dependency google-cloud-documentai to v0.3.0 (#4780)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency google-cloud-documentai to v0.3.0

* Fieldname changed in library

entity.type became entity.type_

Co-authored-by: Charles Engelke <engelke@google.com>
  • Loading branch information
renovate-bot and engelke authored Oct 7, 2020
1 parent be2f491 commit 8907fe1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion document/cloud-client/quickstart_beta.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def _get_text(el):
return response

for entity in document.entities:
print('Entity type: {}'.format(entity.type))
print('Entity type: {}'.format(entity.type_))
print('Text: {}'.format(_get_text(entity)))
print('Mention text: {}\n'.format(entity.mention_text))

Expand Down
2 changes: 1 addition & 1 deletion document/cloud-client/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
google-cloud-documentai==0.2.0
google-cloud-documentai==0.3.0
google-cloud-storage==1.31.2

0 comments on commit 8907fe1

Please sign in to comment.