datastore.filter

Classes

BaseFilter

Filter

CompositeFilter

PropertyFilter

Module Contents

class datastore.filter.BaseFilter
json_key: str
__repr__()
Return type:

str

classmethod from_repr(data)
Abstractmethod:

Parameters:

data (Dict[str, Any])

Return type:

BaseFilter

abstract to_repr()
Return type:

Dict[str, Any]

class datastore.filter.Filter(inner_filter)
Parameters:

inner_filter (BaseFilter)

inner_filter
__repr__()
Return type:

str

__eq__(other)
Parameters:

other (Any)

Return type:

bool

classmethod from_repr(data)
Parameters:

data (Dict[str, Any])

Return type:

Filter

to_repr()
Return type:

Dict[str, Any]

class datastore.filter.CompositeFilter(operator, filters)

Bases: BaseFilter

Parameters:
json_key = 'compositeFilter'
operator
filters
__eq__(other)
Parameters:

other (Any)

Return type:

bool

classmethod from_repr(data)
Parameters:

data (Dict[str, Any])

Return type:

CompositeFilter

to_repr()
Return type:

Dict[str, Any]

class datastore.filter.PropertyFilter(prop, operator, value)

Bases: BaseFilter

Parameters:
json_key = 'propertyFilter'
prop
operator
value
__eq__(other)
Parameters:

other (Any)

Return type:

bool

classmethod from_repr(data)
Parameters:

data (Dict[str, Any])

Return type:

PropertyFilter

to_repr()
Return type:

Dict[str, Any]