Update row (SQLAlchemy) with data from marshmallow

UPDATED, 2022-12-08 Extending the ModelSchema from marshmallow-sqlalchemy instead of Flask-Marshmallow you can use the load method, which is defined like this: load(data, *, session=None, instance=None, transient=False, **kwargs) Putting that to use, it should look like that (or similar query): node_schema.load(json_data, session= current_app.session, instance=Node().query.get(node_id)) And if you want to load without all required fields of Model, … Read more

tech