vanvalenlab / deepcell-label

Cloud-based data annotation tools for biological images
https://label.deepcell.org
Other
73 stars 14 forks source link

Use marshmallow to validate data inputs for project creation API #489

Open ykevu opened 1 year ago

ykevu commented 1 year ago

As I'm scoping out zarr compatibility, I had the thought that it would likely be very useful to use marshmallow or pydantic for data validation for our API. I imagine this can give more useful error messages, better organization and clarity for development and users, and no more loading into white screens. I don't have too much experience with this though, so I (and/or Shenyi assuming this carries over) might appreciate some help from @msschwartz21 or @rossbar if you have experience!