LeaseHeld
Class: warmhub.LeaseHeld
LeaseHeld(reason: Literal['lease_held'], lease_expires_at: str, extra: JsonMapping = _empty(), raw: JsonMapping = _empty())A live read lease blocks this mutation or acquire (#3625).
Methods
Section titled “Methods”as_dict
Section titled “as_dict”as_dict()The exact server payload as a plain, mutable, serializable dict.
Wire keys, wire nesting, no client naming applied — the same content as
raw, in the form you can hand to dumps, mutate, or
pass to code that demands a real dict. Built fresh on each call, so
editing the result cannot reach the model.
Properties and attributes
Section titled “Properties and attributes”reason
Section titled “reason”reasonDocumentation is not yet available.
lease_expires_at
Section titled “lease_expires_at”lease_expires_atISO-8601 absolute wall-clock deadline the active lease expires at.
extra = field(default_factory=_empty)Documentation is not yet available.
raw = field(default_factory=_empty)Documentation is not yet available.