This commit is contained in:
Cayo Puigdefabregas 2022-02-02 12:51:15 +01:00
parent a0bc745893
commit 11df33060f

View file

@ -256,7 +256,6 @@ class ActionView(View):
return erased.post()
a = resource_def.schema.load(json)
import pdb; pdb.set_trace()
Model = db.Model._decl_class_registry.data[json['type']]()
action = Model(**a)
db.session.add(action)