-
Notifications
You must be signed in to change notification settings - Fork 0
Fix legacy attributes #328
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
- Replace ScientificArtifactFilterBase.contact_id (uuid) with contact_email (str) - Remove ScientificArtifactBase.atlas_id because it doesn't exist in the db model
Note that |
For confirmation or discussion: is it correct that the db model of |
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.
Code is fine; consider this a LGTM for that side - whether atlas_id needs to exist is something I don't know.
@GianlucaFicarelli I have asked about this in the scientific meeting. I has been agreed that we can remove atlas_id from scientific artifact and instead add it explicitly in each artifact this way we can also control better when it's mandatory, optional or not present. |
Thanks, then I'm going to merge this PR as is. |
* origin/main: IonChannelModel inheriting from ScientificArtifact (#300) Add external data source and url (#327) Add Calibration & Validation activities (#307) Update uv and relax uv pinning in Dockerfile (#336) Add filter by authorized_public and authorized_project_id (#335) Fix legacy attributes (#328) Add circuit hierarchy endpoint (#320) Remove contribution from publication (#331)
…-model * origin/main: Add the ability to filter by name to IonChannelModel (#338) IonChannelModel inheriting from ScientificArtifact (#300) Add external data source and url (#327) Add Calibration & Validation activities (#307) Update uv and relax uv pinning in Dockerfile (#336) Add filter by authorized_public and authorized_project_id (#335) Fix legacy attributes (#328) Add circuit hierarchy endpoint (#320) Remove contribution from publication (#331) Add timezone to scientific_artifact.experiment_date (#326)
ScientificArtifactFilterBase.contact_id
(uuid) withcontact_email
(str)ScientificArtifactBase.atlas_id
because it doesn't exist in the db modelNote:
ScientificArtifact.atlas_id
should be removed from entitysdk as well