flask_sqlalchemy_rest icon indicating copy to clipboard operation
flask_sqlalchemy_rest copied to clipboard

Marshmallow 3.x Schemas are always strict

Open evans-mike opened this issue 5 years ago • 6 comments

https://marshmallow.readthedocs.io/en/stable/upgrading.html

Schemas are always strict Two major changes were made to (de)serialization behavior: The strict parameter was removed. Schemas are always strict.

I ran into this on app.py when trying to pass strict=True. By leaving this out, I was able to move on with the video.

evans-mike avatar Mar 10 '20 10:03 evans-mike

Ran into this same issue today. python 3.8.1

joshuaRuff avatar Mar 17 '20 15:03 joshuaRuff

Thank for the fix

RemmyBisimbeko avatar May 23 '20 19:05 RemmyBisimbeko

same issue i was facing..but this solved THANKS

Arbazbms avatar Aug 02 '20 18:08 Arbazbms

thanks for the fix/info.

jharemza avatar Aug 06 '20 18:08 jharemza

also ran into same issue thanks

Maxino22 avatar Feb 03 '21 13:02 Maxino22

In marshmallow version 3.0 or later The strict parameter was removed. Schemas are always strict. you don't need to use strict=True

mohammad16 avatar Sep 16 '22 06:09 mohammad16