AllenNeuralDynamics / AllenNeuralDynamics/Aind.Behavior.Services
Consider using validated data in default_factory fields
Open
- Dominant language
- Python
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
https://pydantic.dev/docs/validation/latest/api/pydantic/fields/#pydantic.fields.FieldInfo.default_factory
We should attempt to use this for generate fields like the session id automatically. We should check how this behaves with the json-schema generation tho.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.