# Path: boiler/feature/orm.py
# def orm_feature(app):


import logging
from flask import current_app
from boiler.feature.orm import db
        :param kwargs:          varargs, data to populate with
        :return:                object, fresh unsaved model
        """
        return self.__model__(**kwargs)

    def create(self, **kwargs):
        """
        Create
        Instantiates and persists new model populated from provided
        arguments

        :param kwargs:          varargs, data to populate with
        :return:                object, persisted new instance of model
        """
        model = self.new(**kwargs)
        return self.save(model)

    def save(self, model, commit=True):
        """
        Save
        Puts model into unit of work for persistence. Can optionally
        commit transaction. Returns persisted model as a result.

        :param model:           object, model to persist
        :param commit:          bool, commit transaction?
        :return:                object, saved model
        """
        self.is_instance(model)
        db.session.add(model)
        if commit:

# Path: boiler/feature/orm.py
# def orm_feature(app):


# Path: boiler/abstract/abstract_service.py
import logging
from flask import current_app
from boiler.feature.orm import db

        :param kwargs:          varargs, data to populate with
        :return:                object, fresh unsaved model
        """
        return self.__model__(**kwargs)

    def create(self, **kwargs):
        """
        Create
        Instantiates and persists new model populated from provided
        arguments

        :param kwargs:          varargs, data to populate with
        :return:                object, persisted new instance of model
        """
        model = self.new(**kwargs)
        return self.save(model)

    def save(self, model, commit=True):
        """
        Save
        Puts model into unit of work for persistence. Can optionally
        commit transaction. Returns persisted model as a result.

        :param model:           object, model to persist
        :param commit:          bool, commit transaction?
        :return:                object, saved model
        """
        self.is_instance(model)
        db.session.add(model)
        if commit:

            db.session.commit()