Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

There is a typo in handle_response_sample_v1beta3.py that throws an error #11203

Copy link
Copy link
Closed
@tomgersic

Description

@tomgersic
Issue body actions

In which file did you encounter the issue?

python-docs-samples/documentai/snippets/handle_response_sample_v1beta3.py

Did you change the file? If so, how?

It's just a mis-spelling of the word Occurrence. It throws an error. It's fixed here:
tomgersic@f779c52

Describe the issue

Errors thrown:

AttributeError: type object 'Property' has no attribute 'OccurenceType'. Did you mean: 'OccurrenceType'?
ValueError: Unknown field for Property: occurence_type

Making sure to follow these steps will guarantee the quickest resolution possible.

Thanks!

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.samplesIssues that are directly related to samples.Issues that are directly related to samples.triage meI really want to be triaged.I really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.