Skip to content Skip to sidebar Skip to footer
Showing posts with the label Marshmallow

Sqlalchemy @property Causes 'unknown Field' Error In Marshmallow With Dump_only

I'm using flask-marshmallow (marshmallow=v3.0.0rc1, flask-marshmallow=0.9.0) and flask-sqlalche… Read more Sqlalchemy @property Causes 'unknown Field' Error In Marshmallow With Dump_only

Is It Possible To Validate List Using Marshmallow?

Is it possible to validate list using marshmallow? class SimpleListInput(Schema): items = field… Read more Is It Possible To Validate List Using Marshmallow?

Marshmallow Result Customization

I have the sqlalchemy model with jsonb field and marshmallow schema for this model: class Settings(… Read more Marshmallow Result Customization

Attributeerror: 'dict' Object Has No Attribute '_sa_instance_state'

Am creating a flask_restful API with sqlalchemy and marshmallow. Here is my model class User(db.Mo… Read more Attributeerror: 'dict' Object Has No Attribute '_sa_instance_state'

Override Field Schema Based On Data - Marshmallow

I'm just getting started with marshmallow so if there's a more elegant way to solve the iss… Read more Override Field Schema Based On Data - Marshmallow

Modeling Relationships In SQLAlchemy To Show Nested "sets" With Marshmallow

I'm trying to figure out how to model (flask-)SQLAlchemy and (flask-)Marshamallow to provide th… Read more Modeling Relationships In SQLAlchemy To Show Nested "sets" With Marshmallow