drop pdb
This commit is contained in:
parent
a0bc745893
commit
11df33060f
|
@ -256,7 +256,6 @@ class ActionView(View):
|
||||||
return erased.post()
|
return erased.post()
|
||||||
|
|
||||||
a = resource_def.schema.load(json)
|
a = resource_def.schema.load(json)
|
||||||
import pdb; pdb.set_trace()
|
|
||||||
Model = db.Model._decl_class_registry.data[json['type']]()
|
Model = db.Model._decl_class_registry.data[json['type']]()
|
||||||
action = Model(**a)
|
action = Model(**a)
|
||||||
db.session.add(action)
|
db.session.add(action)
|
||||||
|
|
Reference in New Issue