datastore.filter

datastore.filter

datastore.filter

Module Contents

Classes

BaseFilter

Filter

CompositeFilter

PropertyFilter

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

Return repr(self).

Return type:

str

abstract classmethod from_repr(data)
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) –

__repr__()

Return repr(self).

Return type:

str

__eq__(other)

Return self==value.

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'
__eq__(other)

Return self==value.

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'
__eq__(other)

Return self==value.

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]