JaneliaSciComp / pydantic-ome-ngff

Pydantic models for OME-NGFF
BSD 3-Clause "New" or "Revised" License
20 stars 3 forks source link

deduplicate validators logic #2

Open d-v-b opened 1 year ago

d-v-b commented 1 year ago

Validators are not reusable, since they are defined as class methods. We should figure out a clean way for centralizing the validators so that they can be re-used across different versions of the spec.