Typo fix.

This commit is contained in:
Alexis Lahouze 2016-01-13 12:36:44 +01:00
parent b9c9199c78
commit 2cccb07c3d
2 changed files with 2 additions and 1 deletions

View File

@ -43,6 +43,8 @@ operation_with_sold_model = {
'canceled': fields.Boolean,
}
operation_model = operation_with_sold_model
parser = reqparse.RequestParser()
# Must use lambda because the parser passes other parameters badly interpreted
# by dateutil.parser.parse

View File

@ -17,7 +17,6 @@
import dateutil.parser
from flask.ext.restful import Resource, fields, reqparse, marshal_with_field
from flask.ext.restplus import Resource, fields, marshal_with_field
from sqlalchemy import true
from sqlalchemy.orm.exc import NoResultFound