-
Notifications
You must be signed in to change notification settings - Fork 0
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
69 retrieve pictures and inferences for a given folder #89
Conversation
…and-inferences-for-a-given-folder
…handle-multiple-project' into 69-Retrieve-pictures-and-inferences-for-a-given-folder
@Francois-Werbrouck I wait for #76 and #87 to finish this but if you want to take a look when you have time :) |
I will take a second look at this once #87 is merged, however it looks good so far after a quick check |
…and-inferences-for-a-given-folder
raise GetPictureError( | ||
f"Error: could not check if the picture {picture_id} has an existing inference") | ||
|
||
def get_picture_inference(cursor, picture_id: str): |
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'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.
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'd look into using Pydantic to rebuild the Inference. (and verify its structure in the future)
ref #69