cyborg/db/sqlalchemy/api.py
def _exact_attribute_by_filter(self, query, filters):
        """Applies exact match filtering to a atrtribute query.
        Returns the updated query.
        :param filters: The filters specified by a dict of kv pairs
        """

        model = models.Attribute
        filter_dict = filters

        # Apply simple exact matches
        query = query.filter(*[getattr(models.Attribute, k) == v
                               for k, v in filter_dict.items()])
        return query
Applies exact match filtering to a atrtribute query.
        Returns the updated query.
        :param filters: The filters specified by a dict of kv pairs
        
Applies exact match filtering to a atrtribute query.
Returns the updated query.
Applies exact match filtering to a atrtribute query . Returns the updated query .
def _exact_attribute_by_filter(self, query, filters):
        model = models.Attribute
        filter_dict = filters
        query = query.filter(*[getattr(models.Attribute, k) == v
                               for k, v in filter_dict.items()])
        return query
def _exact_attribute_by_filter ( self , query , filters ) : model = models . Attribute filter_dict = filters query = query . filter ( * [ getattr ( models . Attribute , k ) == v for k , v in filter_dict . items ( ) ] ) return query
Applies exact match filtering to a atrtribute query.
Applies exact match filtering to a atrtribute query .
"""Applies exact match filtering to a atrtribute query.
        Returns the updated query.
        :param filters: The filters specified by a dict of kv pairs
        """ # Apply simple exact matches
self
query
filters
The filters specified by a dict of kv pairs
The filters specified by a dict of kv pairs