Uh oh!
There was an error while loading. Please reload this page.
Fix KeyError for unsupported annotation types. - #2961
Conversation
| :rtype: :class:`~google.cloud.vision.annotations.Annotations` | ||
| :returns: An instance of ``Annotations`` with detection types loaded. | ||
| """ | ||
| for feature_type in response.keys(): |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
dhermes
commented
Jan 25, 2017
@jonparrott@gguuss PTAL. (I can already image the bug reports: "where is my data") |
@dhermes the data isn't going to get loaded unless it's routed into the |
lukesneeringer
commented
Jan 26, 2017
I am all kinds of nervous about just dropping extra fields, but it looks like #2930 has already covered this ground. So, okay. |
daspecster
commented
Jan 30, 2017
Bump! |
theacodes
commented
Jan 30, 2017
This is fine with me. I believe this is what @gguuss had in mind - the data isn't there, but the library doesn't explode. |
daspecster
commented
Jan 30, 2017
Thanks @jonparrott! |
* Fix KeyError for unsupported annotation types.
* Fix KeyError for unsupported annotation types.
Fixes#2930.