pydantic https://pydantic-docs.helpmanual.io is a python package that allows you to define classes using python type annotations, using this information to simplify serialization and support parameter validation.
I have experimented with pydantic in
DM-28678 in daf_butler to define classes for the butler client/server interface and it seemed to work well. Pydantic underpins the fastapi python web server https://fastapi.tiangolo.com that is the recommended python server to use to implement the Butler web service. It would be very helpful if I was allowed to use pydantic directly in daf_butler rather than trying to define the pydantic models solely in the server code.
Can we please add pydantic to the conda scipipe environment? Bringing in pydantic is trivial and does not pull in any additional packages.