From c2634bac7269bcf07bd103dfe7d66e0fd790d7f2 Mon Sep 17 00:00:00 2001 From: Steven Loria Date: Thu, 10 Sep 2020 08:42:59 -0400 Subject: [PATCH] refactor: remove unnecessary strict option from schemas (#1466) --- flask_appbuilder/api/convert.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/flask_appbuilder/api/convert.py b/flask_appbuilder/api/convert.py index 8eb6822b51..adc65b80b8 100644 --- a/flask_appbuilder/api/convert.py +++ b/flask_appbuilder/api/convert.py @@ -96,7 +96,6 @@ class MetaSchema(SQLAlchemyAutoSchema, class_mixin): class Meta: model = _model fields = columns - strict = True load_instance = True sqla_session = self.datamodel.session @@ -105,7 +104,6 @@ class Meta: class MetaSchema(SQLAlchemyAutoSchema, class_mixin): class Meta: model = _model - strict = True load_instance = True sqla_session = self.datamodel.session