class Price(db.Model):
id = db.Column(db.Integer, primary_key=True)
name = db.Column(db.String(128), index=True)
class PriceSchema(ma.SQLAlchemyAutoSchema):
class Meta:
model = Price
This raises the following error:
TypeError: Schema.__init__() got an unexpected keyword argument 'include_data'
Have also tried with ma.SQLAlchemySchema.
Installed:
flask version : 2.0.1
flask_marshmallow version : 0.14.0
Can't create any schemas at all.
This raises the following error:
Have also tried with
ma.SQLAlchemySchema
.Installed: flask version : 2.0.1
flask_marshmallow version : 0.14.0