-
Notifications
You must be signed in to change notification settings - Fork 6
Deprecate /device-api/posichecks endpoint #164
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
mjvogelsong
left a comment
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.
Great, this is cleaner!
Also, I would recommend bumping the pyproject.toml version to 0.13.4.
| @RequestsRetryDecorator() | ||
| def submit_image_query_with_inspection( # noqa: PLR0913 # pylint: disable=too-many-arguments |
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.
Yay! I like when we get to delete code!
package.json
Outdated
| "@openapitools/openapi-generator-cli": "^2.7.0", | ||
| "rehype-katex": "^7.0.0", | ||
| "remark-math": "^6.0.0" |
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, also, why were these added? Seems irrelevant to this PR.
blaise-muhirwa
left a comment
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.
Looks good to me!
|
I think this should get lumped into a v0.14.0 release - it's a relatively big change. |
Background
We need to deprecate the old /device-api/posichecks in favor of /device-api/v1/image-queries. Camilo has completed his changes to support this and they have been deployed to prod.
Changes in this PR
spec/public-api.yamlhas been updated to supportinspection_idsubmit_image_query_with_inspectionhas been removed fromsrc/groundlight/internalapi.pybecauseinspection_idis now supported in the public API.Jira: https://positronixcorp.atlassian.net/browse/PK-1783