def add_object(self, ObjectClass, **kwargs):
        object=ObjectClass(**kwargs)
        self.db.session.add(object)
        return object
Add an object of class 'ObjectClass' with fields and values specified in '**kwargs'.
dataset/ETHPy150Open lingthio/Flask-User/flask_user/db_adapters.py/SQLAlchemyAdapter.add_object