AllenNeuralDynamics / aind-data-access-api

Library to interface with AIND databases
MIT License
2 stars 0 forks source link

Add python helpers to access metadata status by ID #99

Open dbirman opened 1 week ago

dbirman commented 1 week ago

User story

As a user I want to be able to do something like helpers.get_metadata_status(_id, "subject") or helpers.get_metadata_status(_id, "subject.subject_id") and return the MetadataState

Acceptance criteria

Sprint Ready Checklist

Notes

MetadataState is defined here https://github.com/AllenNeuralDynamics/aind-metadata-validator/blob/main/src/aind_metadata_validator/utils.py, this should probably be moved into aind-data-schema