Skip to content
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

69 retrieve pictures and inferences for a given folder #89

Merged

Conversation

sylvanie85
Copy link
Contributor

ref #69

@sylvanie85 sylvanie85 linked an issue Jul 24, 2024 that may be closed by this pull request
3 tasks
@sylvanie85
Copy link
Contributor Author

@Francois-Werbrouck I wait for #76 and #87 to finish this but if you want to take a look when you have time :)

@Francois-Werbrouck
Copy link
Contributor

I will take a second look at this once #87 is merged, however it looks good so far after a quick check

@sylvanie85 sylvanie85 marked this pull request as ready for review July 31, 2024 15:15
raise GetPictureError(
f"Error: could not check if the picture {picture_id} has an existing inference")

def get_picture_inference(cursor, picture_id: str):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd put this in the inference module since we are fetching inference data.

I'd also call it something more relevant because just from the name of the function I was quite confused.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd look into using Pydantic to rebuild the Inference. (and verify its structure in the future)

@sylvanie85 sylvanie85 merged commit 841b97b into main Aug 1, 2024
5 of 7 checks passed
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.

Retrieve pictures and inferences for a given folder
2 participants