labpack/storage/appdata.py
def conditional_filter(self, path_filters):

        ''' a method to construct a conditional filter function for class list method

        :param path_filters: dictionary or list of dictionaries with query criteria
        :return: filter_function object

        path_filters:
        [ { 0: { conditional operators }, 1: { conditional_operators }, ... } ]

        conditional operators:
            "byte_data": false,
            "discrete_values": [ "" ],
            "excluded_values": [ "" ],
            "equal_to": "",
            "greater_than": "",
            "less_than": "",
            "max_length": 0,
            "max_value": "",
            "min_length": 0,
            "min_value": "",
            "must_contain": [ "" ],
            "must_not_contain": [ "" ],
            "contains_either": [ "" ]
        '''

        title = '%s.conditional_filter' % self.__class__.__name__
        
        from labpack.compilers.filters import positional_filter
        filter_function = positional_filter(path_filters, title)
        
        return filter_function
 a method to construct a conditional filter function for class list method

        :param path_filters: dictionary or list of dictionaries with query criteria
        :return: filter_function object

        path_filters:
        [ { 0: { conditional operators }, 1: { conditional_operators }, ... } ]

        conditional operators:
            "byte_data": false,
            "discrete_values": [ "" ],
            "excluded_values": [ "" ],
            "equal_to": "",
            "greater_than": "",
            "less_than": "",
            "max_length": 0,
            "max_value": "",
            "min_length": 0,
            "min_value": "",
            "must_contain": [ "" ],
            "must_not_contain": [ "" ],
            "contains_either": [ "" ]
        
a method to construct a conditional filter function for class list method
a method to construct a conditional filter function for class list method
def conditional_filter(self, path_filters):
        title = '%s.conditional_filter' % self.__class__.__name__
        from labpack.compilers.filters import positional_filter
        filter_function = positional_filter(path_filters, title)
        return filter_function
def conditional_filter ( self , path_filters ) : title = '%s.conditional_filter' % self . __class__ . __name__ from labpack . compilers . filters import positional_filter filter_function = positional_filter ( path_filters , title ) return filter_function
a method to construct a conditional filter function for class list method
a method to construct a conditional filter function for class list method
''' a method to construct a conditional filter function for class list method

        :param path_filters: dictionary or list of dictionaries with query criteria
        :return: filter_function object

        path_filters:
        [ { 0: { conditional operators }, 1: { conditional_operators }, ... } ]

        conditional operators:
            "byte_data": false,
            "discrete_values": [ "" ],
            "excluded_values": [ "" ],
            "equal_to": "",
            "greater_than": "",
            "less_than": "",
            "max_length": 0,
            "max_value": "",
            "min_length": 0,
            "min_value": "",
            "must_contain": [ "" ],
            "must_not_contain": [ "" ],
            "contains_either": [ "" ]
        '''
filter_function object
path_filters:
[ { 0: { conditional operators }, 1: { conditional_operators }, ...


filter_function object path_filters : [ { 0 : { conditional operators } 1 : { conditional_operators } ...
self
path_filters
dictionary or list of dictionaries with query criteria
dictionary or list of dictionaries with query criteria