ThingDetail
Class: warmhub.ThingDetail
ThingDetail(wref: str, name: str, kind: str, version: int, active: bool, pinned_wref: str | None = None, declared_shapes: tuple[str, ...] | None = None, validated_shapes: tuple[str, ...] | None = None, data: PayloadT | None = None, collections: tuple[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.
declared_shapes
Section titled “declared_shapes”declared_shapes = NoneVersion-pinned Shapes this version declares directly.
validated_shapes
Section titled “validated_shapes”validated_shapes = NoneFull version-pinned certificate closure. Present on a page read only
when it was requested with include_validated_shapes.
data = NoneDocumentation is not yet available.
collections
Section titled “collections”collections = NoneOne entry per collection Shape in the certificate closure. Absent on a thing that is not a collection; never empty when present.
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.