Skip to content

Conversation

@timmarkhuff
Copy link
Contributor

@timmarkhuff timmarkhuff commented Feb 8, 2024

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.yaml has been updated to support inspection_id
  • submit_image_query_with_inspection has been removed from src/groundlight/internalapi.py because inspection_id is now supported in the public API.

Jira: https://positronixcorp.atlassian.net/browse/PK-1783

@timmarkhuff timmarkhuff marked this pull request as draft February 8, 2024 18:21
@timmarkhuff timmarkhuff marked this pull request as ready for review February 15, 2024 19:24
Copy link
Contributor

@mjvogelsong mjvogelsong left a 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.

Comment on lines -251 to -252
@RequestsRetryDecorator()
def submit_image_query_with_inspection( # noqa: PLR0913 # pylint: disable=too-many-arguments
Copy link
Contributor

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
Comment on lines 4 to 6
"@openapitools/openapi-generator-cli": "^2.7.0",
"rehype-katex": "^7.0.0",
"remark-math": "^6.0.0"
Copy link
Contributor

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.

Copy link
Contributor

@blaise-muhirwa blaise-muhirwa left a 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!

@robotrapta
Copy link
Member

I think this should get lumped into a v0.14.0 release - it's a relatively big change.

@timmarkhuff timmarkhuff merged commit dfd0a17 into main Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants