def edit_form(self, obj):
        return self._edit_form_class(get_form_data(), **obj)
Create edit form from the MongoDB document
dataset/ETHPy150Open flask-admin/flask-admin/flask_admin/contrib/pymongo/view.py/ModelView.edit_form