You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PeopleMakeCulture
changed the title
Refactor validate_json
Refactor validate_json-> 'validate_db_update' for real-time ref integ checks
Dec 4, 2024
PeopleMakeCulture
changed the title
Refactor validate_json-> 'validate_db_update' for real-time ref integ checks
Refactor validate_json-> validate_db_update for real-time ref integ checks
Dec 4, 2024
FYI: In the most recent migration notebook (here), I started using LinkML's Validator class (docs) instead of directly using jsonschema's Draft7Validator class — this was in accordance with guidance from our teammates that work on LinkML.
We are refactoring the util
validate_json
to be a multi-step process where we:validate_json
with Draft7Validatorvalidate_linkml_nmdcdb
validates schema with linkML constructorvalidate_transaction
which treats the change set as a db transaction, and checks for referential integrity in the post-update state of the databaseThe text was updated successfully, but these errors were encountered: