tiled.queries.SpecQuery

tiled.queries.SpecQuery(spec)[source]

Convenience function for querying if specs list contains a given spec

Equivalent to SpecsQuery([spec]).

Parameters:
spec: str

Examples

Search for spec “foo”

>>> c.search(Spec("foo"))