keithasaurus / koda-validate

Typesafe, Composable Validation
MIT License
112 stars 0 forks source link

Some examples not working in <3.10 Python #17

Closed kapman28 closed 1 year ago

kapman28 commented 1 year ago

metadata.py has issues both with the use of match in pre 3.10 (as noted in file). The pipe '|' as a type Union operator in arguments to describe_validator also not supported pre 3.10.

tour_record_1.py uses match as above, so same issue.

These aren't major issues, but could be fixed at some point.

keithasaurus commented 1 year ago

resolved in #18