yasuki_core.search.parse_search.SearchTerm#

class SearchTerm(field, operator, value, negated=False)[source]#

Represents a single search term with field, operator, and value.

Attributes:
fieldstr or None

Field name (e.g., ‘name’, ‘type’, ‘force’). None for text search.

operatorstr

Comparison operator (‘:’, ‘=’, ‘>’, ‘>=’, ‘<’, ‘<=’)

valuestr

Search value

negatedbool

Whether this term is negated (NOT)

Methods

SearchTerm.__init__(field, operator, value)

Attributes

negated

field

operator

value