ThingDetail
Class: warmhub.ThingDetail
ThingDetail(wref: str, name: str, kind: str, version: int, active: bool, pinned_wref: str | None = None, shape: str | None = None, shape_name: str | None = None, validated_shape: str | None = None, data: PayloadT | None = None, collection: JsonMapping | None = None, synthesized: bool | None = None, about_wref: str | None = None, affirmed_wrefs: tuple[str, ...] | None = None, committer_wref: str | None = None, created_by: str | None = None, revised_by: str | None = None, metadata: JsonMapping | None = None, extra: JsonMapping = _empty(), raw: JsonMapping = _empty())Full record shape for a single-record read.
active is required here and optional on ThingItem; that
asymmetry is the wire contract’s, not a modelling choice.
Generic in its payload on the same terms as ThingItem.
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”wrefDocumentation is not yet available.
nameDocumentation is not yet available.
kindDocumentation is not yet available.
version
Section titled “version”versionDocumentation is not yet available.
active
Section titled “active”activeDocumentation is not yet available.
pinned_wref
Section titled “pinned_wref”pinned_wref = NoneDocumentation is not yet available.
shape = NoneDocumentation is not yet available.
shape_name
Section titled “shape_name”shape_name = NoneDocumentation is not yet available.
validated_shape
Section titled “validated_shape”validated_shape = NoneDocumentation is not yet available.
data = NoneDocumentation is not yet available.
collection
Section titled “collection”collection = NoneDocumentation is not yet available.
synthesized
Section titled “synthesized”synthesized = NoneTrue on synthesized empty stubs from getReadme/getAgents.
about_wref
Section titled “about_wref”about_wref = NoneDocumentation is not yet available.
affirmed_wrefs
Section titled “affirmed_wrefs”affirmed_wrefs = NonePinned target wrefs the returned assertion version affirms.
committer_wref
Section titled “committer_wref”committer_wref = NoneDocumentation is not yet available.
created_by
Section titled “created_by”created_by = NoneFirst-version author. Optional for legacy rows.
revised_by
Section titled “revised_by”revised_by = NoneCurrent-version author.
metadata
Section titled “metadata”metadata = NoneDocumentation is not yet available.
extra = field(default_factory=_empty)Documentation is not yet available.
raw = field(default_factory=_empty)Documentation is not yet available.