clean tradeview for obsolet

This commit is contained in:
Cayo Puigdefabregas 2021-04-21 14:45:53 +02:00
parent dfd4ffe012
commit 939a2bff71

View file

@ -70,20 +70,6 @@ def move_json(tmp_snapshots, path_name, user, live=False):
os.remove(path_name)
class TradeView(View):
model = Trade
def post(self):
res_json = request.get_json()
res_obj = self.model(**res_json)
db.session.add(res_obj)
db.session().final_flush()
ret = self.schema.jsonify(res_obj)
ret.status_code = 201
db.session.commit()
return ret
class AllocateMix():
model = None