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
After commit 40ed37a and the release of 4.0, all schema arguments need to be instances (because of the isinstance() call), while Cornice accepted classes before that. I don't think the "classes" behavior has been deprecated, but I may be wrong.
I did this kind of change on all schema arguments and it stopped crashing:
It's not a big fix but it took some time chasing it down. A DeprecationWarning when schemas are classes instead of instances would have been appreciated.
The text was updated successfully, but these errors were encountered:
After commit 40ed37a and the release of 4.0, all schema arguments need to be instances (because of the
isinstance()
call), while Cornice accepted classes before that. I don't think the "classes" behavior has been deprecated, but I may be wrong.I did this kind of change on all schema arguments and it stopped crashing:
It's not a big fix but it took some time chasing it down. A
DeprecationWarning
when schemas are classes instead of instances would have been appreciated.The text was updated successfully, but these errors were encountered: