tiled.queries.NotEq

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

Query inequality of a given key’s value to the specified value.

See Key in this module for a more intuitive interface for inequality.

Parameters:
keystr

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

valueJSONSerializable

May be a string, number, list, or dict.

Examples

Search for color == “red”

>>> c.search(Eq("color", "red"))
__init__(key: str, value: Any) None

Methods

__init__(key, value)

decode(*, key, value)

encode()

Attributes

key

value