You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I hope you agree on the following solution.
This is an example error message
<class '__main__.Regisseur'>
parameter `movie` is invalid:
it contains value `<class '__main__.Movie'>` which is not of type`typing_extensions.Required[dict[strongtyping.strong_typing.Movie]]`
If you capture the exception you can access all interesting informations
Python Version used
Python 3.10.4 (main, May 28 2022, 13:25:38) [GCC 10.2.1 20210110] on linux
Package Version used
strongtyping 3.10.4
Addon in use
strongtyping_modules [yes/no]
To Reproduce
gives
Expected behavior
A clearer error message on which attributes are missing/extra/have wrong types e.g.
Thanks again for your work!!!
The text was updated successfully, but these errors were encountered: