hammerlab / cycledash

Variant Caller Analysis Dashboard and Data Management System
Other
36 stars 2 forks source link

Use voluptuous for marshal_with in the Python API #621

Closed ihodes closed 9 years ago

ihodes commented 9 years ago

Migrate to use voluptuous for marshal_with, and add docstring to each field in the request/response schemas. These can later be used to generate documentation.

ihodes commented 9 years ago

This primarily is a matter of:

1) Adding a Documentation voluptuous.Node class 2) Rewriting our already-custom marshall_with to follow a voluptuous tree instead of a normal dict tree; light rewrite of the ~6 LOC of flask-restful's marshall_with.