WherePredicate
Class: warmhub.WherePredicate
WherePredicate(field_path: str, op: WhereOp, rhs: WhereScalar | Sequence[WhereScalar] | None = None)One field-value predicate, ready to serialize.
Construct through where; the constructor is public so a caller can
build one from data without going through operator syntax.
Methods
Section titled “Methods”to_wire
Section titled “to_wire”to_wire()Serialize to the wire predicate shape.
exists omits rhs entirely. The TypeScript type declares it
rhs?: never, so sending "rhs": null would be a schema
violation, not a harmless extra key.
Properties and attributes
Section titled “Properties and attributes”field_path
Section titled “field_path”field_pathDocumentation is not yet available.
opDocumentation is not yet available.
rhs = NoneAbsent for exists. Deliberately not UNSET: this is a model, not
a call signature, and to_wire omits the key rather than relying on
the request builder’s UNSET filtering.