haukurk / flask-restapi-recipe

A recipe for a RESTful API with key authentication. Powered with Flask+SQLALchemy and a minimal amount of external dependencies.
MIT License
60 stars 23 forks source link

Ancient version of marshmallow #1

Open IDmedia opened 8 years ago

IDmedia commented 8 years ago

Hi, I'm new to Flask and currently looking for a good starting point for building a json API. Your project seems to be exactly what I'm looking for.

However, I noticed that you're using an ancient version of marshmallow (1.0.0-a (2014-10-19)). Would you still recommend this as a starting point or would you recommend something else? Would love to see this updated to the latest version of marshmallow and would love to help if applicable. :)

Edit: According to the changelog "Serializer" has been renamed to "Schema". Did a quick and dirty search and replace, but now I'm getting "AttributeError: 'CakeSchema' object has no attribute 'data'".

haukurk commented 8 years ago

Sorry for not answering sooner.

It's been awhile since i created this seed, I'll try to look into it.

Have you just tried it with a newer version of Marshmallow?

andywong188 commented 8 years ago

try pip install marshmallow==1.2.6 and then it worked