Skip to content
PACKAGES

operators.repeat

Kind: function

Source: src/graphrefly/operators/_recover.py:173

repeat(g: Graph, deps: Iterable[Node[Any]], inner: InnerBuilder, rounds: int = 1, retry: RetryPolicy | None = None, *, name: str | None = None)

Start the inner again when it completes normally, until rounds, a positive integer that counts every round, are used (O-repeat). With a retry policy an ERROR is retried as :func:retry does, each round with a fresh attempt budget. Returns the owner; graphrefly.restartable_of(g, name) gives its handle.

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