Unpack#

class tierkreis.builder.Unpack(src: NodePort | StablePortFunc, field_name: str)[source]#

Bases: StablePortFunc

Utility class representing an unpacked field of a struct.

Methods

resolve

As superclass, but guarantees that all calls return the same NodePort.

source_graph

The graph the port belongs to (or will).

Attributes

src

field_name

resolve() NodePort[source]#

As superclass, but guarantees that all calls return the same NodePort.

source_graph() TierkreisGraph[source]#

The graph the port belongs to (or will).