Introduction to flask-marshmallow for serialization and denationalization sqlachemy objects
tests for schemas
one of logic function refactored to use schemas
Note: 1st commit instantiates schemas separately for each model, but in 3rd commit they are moved to one place.
Why? - that is the proper way to instantiates marshmallow. Plus cleaner code, less imports, cleaner tests
Note: 1st commit instantiates schemas separately for each model, but in 3rd commit they are moved to one place. Why? - that is the proper way to instantiates marshmallow. Plus cleaner code, less imports, cleaner tests
refs #376