We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2d067b commit 07fc8efCopy full SHA for 07fc8ef
app/api/schema/orders.py
@@ -5,7 +5,6 @@
5
6
from app.api.helpers.utilities import dasherize
7
from app.api.schema.base import GetterRelationship
8
-from app.models import db
9
from utils.common import use_defaults
10
11
@@ -53,7 +52,7 @@ def initial_values(self, data):
53
52
amount = fields.Float(validate=lambda n: n >= 0, allow_none=False, default=0)
54
address = fields.Str(allow_none=True)
55
city = fields.Str(allow_none=True)
56
- state = fields.Str(db.String, allow_none=True)
+ state = fields.Str(allow_none=True)
57
country = fields.Str(allow_none=True)
58
zipcode = fields.Str(allow_none=True)
59
company = fields.Str(allow_none=True)
0 commit comments