Update for related dependencies
This looks like a fantastic comparison framework. Thank you for sharing with the world. But, I downloaded and tried to run it and ran into multiple dependency issues mainly because of the very early stage of Marshmallow (0.5) which shifted many conventions on naming conventions, etc. I tried to resolve but after about 30 minutes in, I was not able to quickly resolve.
Thanks for reporting this.
I don't have time to update this project at the moment but would gladly review and merge a PR.
Was it not as simple as import Schema instead of Serializer?
from marshmallow import Schema, fields
class PersonSchema(Schema):
id = fields.Integer()
name = fields.Function(lambda p: "{0}, {1}".format(p.lastname, p.firstname))
created = fields.DateTime()
n_items = fields.Integer()
I'll try to circle back to this. It was more than that including some of the changes to the flask dependencies:
Looking at git and my tracked changes:
these were problems as well: from flask.ext.sqlalchemy import SQLAlchemy from flask.ext.classy import FlaskView from flask.ext.sqlalchemy import SQLAlchemy
I got past those but ran out of steam on the marshmallow conflicts.
I tried to do a branch and pull request but running into a problem -- maybe this a private repo? I was able to get the sqlalchemy example script to run but with some data/server errors.