-
Notifications
You must be signed in to change notification settings - Fork 381
bugfix: fix prediction service and unit tests #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -328,7 +328,7 @@ def explain( | |||
if endpoint is not None: | |||
request.endpoint = endpoint | |||
if instances is not None: | |||
request.instances = instances |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Synth will try to revert changes like this in future Autosynth PRs. You can add this entire file to the exclude
list, or a write a regex replacement in synth.py
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had this in synth.py
but failed to update the relevant line to v1beta1, it has been fixed: https://github.com/googleapis/python-aiplatform/pull/8/files#diff-3620890cb174a7f98c0722895e37bb79R72
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can also reprioritize the issues that cause the need for synth hacks. The repeated field one should be trivial.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, my bad, it looks like that issue has actually been fixed in a more current generator release.
* recs * create endpoint * deploy model * undeploy model * predict placeholders * use base properties * address feedback * address feedback * use full name * address comments * feat: Add Custom Training by Python Script (#6) * chore: fix LRO tests and formatting * add tests * fix typo * more typos * address feedback * feat: Address comments and change args to accept list of args to support positional args and flags. * feat: rename is_failed to has_failed * refactor: remove unused Dict type * Work on predict (#7) * fix tests * fix tests * fix tests * checkpoint * Endpoint (#8) * recs * create endpoint * deploy model * undeploy model * predict placeholders * use base properties * address feedback * address feedback * use full name * address comments * add tests * fix typo * more typos * address feedback * fix tests * fix tests * fix tests Co-authored-by: sirtorry <[email protected]> Co-authored-by: Torry Yang <[email protected]> * address feedback * add tests * appease linters * fix test * fix test * add self to test params * tests * tests * tests * fix tests * more bug crushing * undo 'fix' * test: fix endpoint test * chore: change explain ticket ref * test: fix endpoint tests Co-authored-by: sasha-gitg <[email protected]> Co-authored-by: Sasha Sobran <[email protected]>
* recs * create endpoint * deploy model * undeploy model * predict placeholders * use base properties * address feedback * address feedback * use full name * address comments * feat: Add Custom Training by Python Script (googleapis#6) * chore: fix LRO tests and formatting * add tests * fix typo * more typos * address feedback * feat: Address comments and change args to accept list of args to support positional args and flags. * feat: rename is_failed to has_failed * refactor: remove unused Dict type * Work on predict (googleapis#7) * fix tests * fix tests * fix tests * checkpoint * Endpoint (googleapis#8) * recs * create endpoint * deploy model * undeploy model * predict placeholders * use base properties * address feedback * address feedback * use full name * address comments * add tests * fix typo * more typos * address feedback * fix tests * fix tests * fix tests Co-authored-by: sirtorry <[email protected]> Co-authored-by: Torry Yang <[email protected]> * address feedback * add tests * appease linters * fix test * fix test * add self to test params * tests * tests * tests * fix tests * more bug crushing * undo 'fix' * test: fix endpoint test * chore: change explain ticket ref * test: fix endpoint tests Co-authored-by: sasha-gitg <[email protected]> Co-authored-by: Sasha Sobran <[email protected]>
* recs * create endpoint * deploy model * undeploy model * predict placeholders * use base properties * address feedback * address feedback * use full name * address comments * feat: Add Custom Training by Python Script (googleapis#6) * chore: fix LRO tests and formatting * add tests * fix typo * more typos * address feedback * feat: Address comments and change args to accept list of args to support positional args and flags. * feat: rename is_failed to has_failed * refactor: remove unused Dict type * Work on predict (googleapis#7) * fix tests * fix tests * fix tests * checkpoint * Endpoint (googleapis#8) * recs * create endpoint * deploy model * undeploy model * predict placeholders * use base properties * address feedback * address feedback * use full name * address comments * add tests * fix typo * more typos * address feedback * fix tests * fix tests * fix tests Co-authored-by: sirtorry <[email protected]> Co-authored-by: Torry Yang <[email protected]> * address feedback * add tests * appease linters * fix test * fix test * add self to test params * tests * tests * tests * fix tests * more bug crushing * undo 'fix' * test: fix endpoint test * chore: change explain ticket ref * test: fix endpoint tests Co-authored-by: sasha-gitg <[email protected]> Co-authored-by: Sasha Sobran <[email protected]>
* recs * create endpoint * deploy model * undeploy model * predict placeholders * use base properties * address feedback * address feedback * use full name * address comments * feat: Add Custom Training by Python Script (googleapis#6) * chore: fix LRO tests and formatting * add tests * fix typo * more typos * address feedback * feat: Address comments and change args to accept list of args to support positional args and flags. * feat: rename is_failed to has_failed * refactor: remove unused Dict type * Work on predict (googleapis#7) * fix tests * fix tests * fix tests * checkpoint * Endpoint (googleapis#8) * recs * create endpoint * deploy model * undeploy model * predict placeholders * use base properties * address feedback * address feedback * use full name * address comments * add tests * fix typo * more typos * address feedback * fix tests * fix tests * fix tests Co-authored-by: sirtorry <[email protected]> Co-authored-by: Torry Yang <[email protected]> * address feedback * add tests * appease linters * fix test * fix test * add self to test params * tests * tests * tests * fix tests * more bug crushing * undo 'fix' * test: fix endpoint test * chore: change explain ticket ref * test: fix endpoint tests Co-authored-by: sasha-gitg <[email protected]> Co-authored-by: Sasha Sobran <[email protected]>
* recs * create endpoint * deploy model * undeploy model * predict placeholders * use base properties * address feedback * address feedback * use full name * address comments * feat: Add Custom Training by Python Script (googleapis#6) * chore: fix LRO tests and formatting * add tests * fix typo * more typos * address feedback * feat: Address comments and change args to accept list of args to support positional args and flags. * feat: rename is_failed to has_failed * refactor: remove unused Dict type * Work on predict (googleapis#7) * fix tests * fix tests * fix tests * checkpoint * Endpoint (googleapis#8) * recs * create endpoint * deploy model * undeploy model * predict placeholders * use base properties * address feedback * address feedback * use full name * address comments * add tests * fix typo * more typos * address feedback * fix tests * fix tests * fix tests Co-authored-by: sirtorry <[email protected]> Co-authored-by: Torry Yang <[email protected]> * address feedback * add tests * appease linters * fix test * fix test * add self to test params * tests * tests * tests * fix tests * more bug crushing * undo 'fix' * test: fix endpoint test * chore: change explain ticket ref * test: fix endpoint tests Co-authored-by: sasha-gitg <[email protected]> Co-authored-by: Sasha Sobran <[email protected]>
* recs * create endpoint * deploy model * undeploy model * predict placeholders * use base properties * address feedback * address feedback * use full name * address comments * feat: Add Custom Training by Python Script (googleapis#6) * chore: fix LRO tests and formatting * add tests * fix typo * more typos * address feedback * feat: Address comments and change args to accept list of args to support positional args and flags. * feat: rename is_failed to has_failed * refactor: remove unused Dict type * Work on predict (googleapis#7) * fix tests * fix tests * fix tests * checkpoint * Endpoint (googleapis#8) * recs * create endpoint * deploy model * undeploy model * predict placeholders * use base properties * address feedback * address feedback * use full name * address comments * add tests * fix typo * more typos * address feedback * fix tests * fix tests * fix tests Co-authored-by: sirtorry <[email protected]> Co-authored-by: Torry Yang <[email protected]> * address feedback * add tests * appease linters * fix test * fix test * add self to test params * tests * tests * tests * fix tests * more bug crushing * undo 'fix' * test: fix endpoint test * chore: change explain ticket ref * test: fix endpoint tests Co-authored-by: sasha-gitg <[email protected]> Co-authored-by: Sasha Sobran <[email protected]>
* recs * create endpoint * deploy model * undeploy model * predict placeholders * use base properties * address feedback * address feedback * use full name * address comments * feat: Add Custom Training by Python Script (googleapis#6) * chore: fix LRO tests and formatting * add tests * fix typo * more typos * address feedback * feat: Address comments and change args to accept list of args to support positional args and flags. * feat: rename is_failed to has_failed * refactor: remove unused Dict type * Work on predict (googleapis#7) * fix tests * fix tests * fix tests * checkpoint * Endpoint (googleapis#8) * recs * create endpoint * deploy model * undeploy model * predict placeholders * use base properties * address feedback * address feedback * use full name * address comments * add tests * fix typo * more typos * address feedback * fix tests * fix tests * fix tests Co-authored-by: sirtorry <[email protected]> Co-authored-by: Torry Yang <[email protected]> * address feedback * add tests * appease linters * fix test * fix test * add self to test params * tests * tests * tests * fix tests * more bug crushing * undo 'fix' * test: fix endpoint test * chore: change explain ticket ref * test: fix endpoint tests Co-authored-by: sasha-gitg <[email protected]> Co-authored-by: Sasha Sobran <[email protected]>
* Experiments complex metrics (#8) * feat: new class and API for metrics * update system test * update high level log method * fix system test * update example * change from system schema to google schema * fix: import error * Update log_classification_metrics_sample.py * Update samples/model-builder/experiment_tracking/log_classification_metrics_sample.py Co-authored-by: Dan Lee <[email protected]> * Update log_classification_metrics_sample_test.py * Update samples/model-builder/conftest.py Co-authored-by: Dan Lee <[email protected]> * fix: unit test * fix comments * fix comments and update google.ClassificationMetrics * fix comments and update ClassificationMetrics class * fix: ClassificationMetrics doesn't catch params with value=0 * add sample for get_classification_metrics * fix linting * add todos Co-authored-by: Dan Lee <[email protected]>
Related issues:
googleapis/gapic-generator-python#413
googleapis/gapic-generator-python#414