Skip to content
PACKAGES

operators.sample

Kind: function

Source: src/graphrefly/operators/_notifier.py:141

sample(g: Graph, src: Node[Any], notifier: Node[Any], *, name: str | None = None)

At each DATA of notifier, send the value src delivered last since the previous one, once (O-sample).

The behavior is the root’s operator contract: the operator contracts.