alan-turing-institute / DTBase

A starting point from which digital twins can be developed.
MIT License
11 stars 4 forks source link

Use better type annotations for endpoint return values #209

Open mhauru opened 6 months ago

mhauru commented 6 months ago

Once #207 is merged, we will have explicit Pydantic types that specify what our backend API endpoints return. We could use these as type annotations and as parsers in our frontend code and tests.