@classmethod
    def get_by_kwargs(cls, **kwargs):
        instance = db().query(models.ActionLog)\
            .filter_by(**kwargs)\
            .first()

        return instance
Get action_log entry by set of attributes values.
dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/objects/action_log.py/ActionLog.get_by_kwargs