froggylab

Results 3 issues of froggylab

Hello, I use Marshmallow-oneofschema with flask_restx, sqlalchemy and flask_accepts. When I query a nonexistent object with the normal schemas, the result is {}. With OneOfSchema, unfortunately, it's not working because...

In order to avoid circular import in a flask/marshmallow project, it's possible to reference the Nested field by using its name (as described here https://marshmallow.readthedocs.io/en/latest/nesting.html#two-way-nesting) Unfortunately, flask_accepts doesn't support it...

TL;DR : Is there a way to accept string Nested marshmallow fields ? In order to avoid circular import in a flask/marshmallow project, it's possible to reference the Nested field...