Skip to content
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.

fix: handle AttributeError in automl_v1beta1.TablesClient #338

Merged
merged 1 commit into from
Feb 25, 2022

Conversation

parthea
Copy link
Contributor

@parthea parthea commented Feb 25, 2022

The test_list_datasets() and test_list_models() systems tests include a timeout parameter which is not a valid field. The existing code handles the KeyError raised from proto-plus here. In googleapis/proto-plus-python#301, the KeyError was changed to AttributeError. This PR adds handling the AttributeError.

Alternatively, we could roll back the change in proto-plus.

Fixes #335 🦕
Fixes #336 🦕

@parthea parthea requested a review from a team as a code owner February 25, 2022 17:03
@product-auto-label product-auto-label bot added the api: automl Issues related to the googleapis/python-automl API. label Feb 25, 2022
@parthea parthea requested a review from galz10 February 25, 2022 17:15
@parthea
Copy link
Contributor Author

parthea commented Feb 25, 2022

Hi @galz10, please could you take a look?

@parthea parthea merged commit 0cd309f into main Feb 25, 2022
@parthea parthea deleted the handle-attribute-error branch February 25, 2022 17:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api: automl Issues related to the googleapis/python-automl API.
Projects
None yet
3 participants