Skip to content

4.1.0 - `validate` instance/subclass fix

Choose a tag to compare

@smarie smarie released this 23 Apr 10:30
· 99 commits to master since this release
  • assert_instance_of and assert_subclass_of (used in the validate inline entry point) fixed so as to support Enum types. Fixed #28. Important: only tuple are now supported when several types are provided in validate's instance_of and subclass_of arguments. This is to has a closer behaviour to the python stdlib.

See documentation page for details.