Dep
Kind: class
Source: src/graphrefly/_facade.py:375
Signature
Section titled “Signature”Dep(dep: _k.Dep)Description
Section titled “Description”One dependency as an invocation sees it, ctx.deps[i] (R-invocation).
id is the dependency’s name. waves are the arrays it delivered to this
invocation, each as its DATA values in order (a RESOLVED array is []);
terminal is its COMPLETE or ERROR of this invocation, or None; has says
whether a value was received and not invalidated, and value is the latest one,
or graphrefly.SENTINEL without one (None is valid DATA); invalidated says
whether an INVALIDATE arrived on it, under the manual INVALIDATE policy.
Attributes
Section titled “Attributes”| Name | Type | Description |
|---|---|---|
id | str | Return the dependency’s name. |
waves | list[list[object]] | Return this invocation’s arrays from the dependency, as their DATA values. |
terminal | `ControlMessage | ErrorMessage |
has | bool | Return whether a value was received from the dependency and not invalidated. |
value | object | Return the latest value received, or graphrefly.SENTINEL without one. |
invalidated | bool | Return whether an INVALIDATE arrived on this input (manual policy only). |
replaced | bool | Return whether the dependency got a new instance since this function last ran (R-invocation@4, graphrefly-py:D24). |