CIResults.filtering module

class CIResults.filtering.FilterObject(db_path, description=None)

Bases: object

class CIResults.filtering.FilterObjectBool(db_path, description=None)

Bases: CIResults.filtering.FilterObject

classmethod parse_value(value)
class CIResults.filtering.FilterObjectDateTime(db_path, description=None)

Bases: CIResults.filtering.FilterObject

classmethod parse_value(value)
class CIResults.filtering.FilterObjectDuration(db_path, description=None)

Bases: CIResults.filtering.FilterObject

classmethod parse_value(value)
class CIResults.filtering.FilterObjectInteger(db_path, description=None)

Bases: CIResults.filtering.FilterObject

classmethod parse_value(value)
class CIResults.filtering.FilterObjectJSON(db_path, description=None, key=None)

Bases: CIResults.filtering.FilterObject

class CIResults.filtering.FilterObjectModel(model, db_path, description=None)

Bases: CIResults.filtering.FilterObject

parse_value(value)
class CIResults.filtering.FilterObjectStr(db_path, description=None)

Bases: CIResults.filtering.FilterObject

classmethod parse_value(value)
class CIResults.filtering.LegacyParser(model, **user_filters)

Bases: object

class CIResults.filtering.QueryParser(model, user_query)

Bases: object

class CIResults.filtering.QueryVisitor(model, *arg, **kwargs)

Bases: arpeggio.PTNodeVisitor

class NoneObject

Bases: object

visit_basic_filter(node, children)
visit_expression(node, children)
visit_factor(node, children)
visit_filter_field(node, children)
visit_filter_object(node, children)
visit_limit(node, children)
visit_orderby(node, children)
visit_orderby_object(node, children)
visit_query(node, children)
visit_val_ago(node, children)
visit_val_array(node, children)
visit_val_bool(node, children)
visit_val_datetime(node, children)
visit_val_duration(node, children)
visit_val_int(node, children)
visit_val_none(node, children)
visit_val_str(node, children)
visit_val_subquery(node, children)
class CIResults.filtering.UserFiltrableMixin

Bases: object

classmethod from_user_filters(**user_filters)
CIResults.filtering.basic_filter()
CIResults.filtering.expression()
CIResults.filtering.factor()
CIResults.filtering.filter_field()
CIResults.filtering.filter_object()
CIResults.filtering.limit()
CIResults.filtering.nested_expression()
CIResults.filtering.orderby()
CIResults.filtering.orderby_object()
CIResults.filtering.query()
CIResults.filtering.request_to_query(request, Model, default_query_parameters={})
CIResults.filtering.val_ago()
CIResults.filtering.val_array()
CIResults.filtering.val_bool()
CIResults.filtering.val_datetime()
CIResults.filtering.val_duration()
CIResults.filtering.val_int()
CIResults.filtering.val_none()
CIResults.filtering.val_str()
CIResults.filtering.val_subquery()