tiled.queries.NotIn

class tiled.queries.NotIn(key: str, value: List[Any])[source]

Query if a given key’s value is not present in the specified sequence of values.

Parameters:
keystr

e.g. “color”, “sample.name”

valueList[JSONSerializable]

e.g. [“red”, “blue”]

Examples

Search for color not in [“red”, “blue”]

>>> c.search(NotIn("color", ["red", "blue"]))
__init__(key: str, value: List[Any]) None

Methods

__init__(key, value)

decode(*, key, value)

encode()

Attributes

key

value