Fix code.
This commit is contained in:
parent
72d93d280a
commit
22e20028fc
1
api.py
1
api.py
@ -260,5 +260,6 @@ class Search_integer_metric(Resource):
|
|||||||
api.add_namespace(ns_stock)
|
api.add_namespace(ns_stock)
|
||||||
api.add_namespace(ns_float_metric)
|
api.add_namespace(ns_float_metric)
|
||||||
api.add_namespace(ns_integer_metric)
|
api.add_namespace(ns_integer_metric)
|
||||||
|
with app.app_context():
|
||||||
db.create_all()
|
db.create_all()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user