Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8907fe1

Browse files
chore(deps): update dependency google-cloud-documentai to v0.3.0 (GoogleCloudPlatform#4780)
* 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 <[email protected]>
1 parent be2f491 commit 8907fe1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

document/cloud-client/quickstart_beta.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def _get_text(el):
5555
return response
5656

5757
for entity in document.entities:
58-
print('Entity type: {}'.format(entity.type))
58+
print('Entity type: {}'.format(entity.type_))
5959
print('Text: {}'.format(_get_text(entity)))
6060
print('Mention text: {}\n'.format(entity.mention_text))
6161

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
google-cloud-documentai==0.2.0
1+
google-cloud-documentai==0.3.0
22
google-cloud-storage==1.31.2

0 commit comments

Comments
 (0)