This commit is contained in:
Cayo Puigdefabregas 2022-02-02 12:51:15 +01:00
parent a0bc745893
commit 11df33060f
1 changed files with 0 additions and 1 deletions

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)