ultipa.utils.ufilter package
Submodules
ultipa.utils.ufilter.new_ufilter module
- class ultipa.utils.ufilter.new_ufilter.Filter[source]
Bases:
FilterBase
- class ultipa.utils.ufilter.new_ufilter.FilterEnum(value)[source]
Bases:
Enum
An enumeration.
- AND = '&&'
- BT = '<>'
- BTE = '<=>'
- EQ = '=='
- GT = '>'
- GTE = '>='
- IN = 'in'
- LT = '<'
- LTE = '<='
- NEQ = '!='
- NIN = 'nin'
- NOT = '!'
- OR = '||'
- class ultipa.utils.ufilter.new_ufilter.UltipaAndFilter(values: List[UltipaFilter])[source]
Bases:
Filter
- class ultipa.utils.ufilter.new_ufilter.UltipaFilter(schema: str = 'default', filterType: FilterEnum | None = None, property: str | None = None, value: any | None = None)[source]
Bases:
Filter
- class ultipa.utils.ufilter.new_ufilter.UltipaFilterList(*args: UltipaFilter)[source]
Bases:
FilterBase
ultipa.utils.ufilter.ufilter module
- class ultipa.utils.ufilter.ufilter.AndFilter(value: List[Filter])[source]
Bases:
FilterBase
- class ultipa.utils.ufilter.ufilter.Filter(name: str, value: object | None = None)[source]
Bases:
FilterBase
- class ultipa.utils.ufilter.ufilter.FilterOpt[source]
Bases:
object
- AND = '$and'
- BT = '$bt'
- EQ = '$eq'
- GT = '$gt'
- GTE = '$gte'
- IN = '$in'
- LT = '$lt'
- LTE = '$lte'
- NIN = '$nin'
- OR = '$or'