TupleVariable
relationalai.semantics.frontend.base
TupleVariable(items: Sequence[Value | Distinct])Group multiple DSL values into a single tuple-like argument.
TupleVariable wraps a sequence of values so they can be passed as a
single semantics.frontend.base.Value (most commonly to satisfy list-valued relationship fields
declared with Field is_list=True).
During compilation, the wrapper is lowered to a tuple of its items.
Parameters
Notes
Most users should not instantiate this class directly. It is primarily used by standard-library helpers (for example string/constraint utilities) and by internal compilation code.
Used By
semantics > frontend > base └── Value