Skip to content
YosoiDocs

Stop

yosoi.policy.Stop

class Stop(ImmutableModel):

Stop a selected Flow scope after failure or cancellation.

Attributes: kind: Discriminator fixed to stop. scope: current_flow omits its remaining leaves; invocation stops the entire invocation.

Source: python/yosoi/policy.py:1087

Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.

kind: Literal['stop'] = 'stop'
scope: StopScope