bioimage-io / spec-bioimage-io

Specification for the bioimage.io model description file.
https://bioimage-io.github.io/spec-bioimage-io/
MIT License
18 stars 17 forks source link

replaced annotated_types 'Predicate' with pydantic 'StringConstraints' #632

Closed mese79 closed 1 month ago

mese79 commented 2 months ago

As a fix for #631 , I replaced the Predicate from annotated_types package with pydantic's StringConstraints using a regex pattern to achieve the same constraints.