sym.sdk.flow.Run

class sym.sdk.flow.Run(srn: Union[sym.sdk.resource.SRN, str])

Bases: sym.sdk.resource.SymResource

A Run represents an instance of a Flow in progress.

For example, each new access request using the sym:template:approval:1.0 Template would generate a new Run with data pertaining to that specific access request.

Attributes

actors

A dict mapping Event names to the User that created each Event.

name

An alias for this resource’s slug, represented by its SRN.

srn

A SRN object that represents the unique identifier for this resource.

property actors

A dict mapping Event names to the User that created each Event. There will be one entry for each Event in the current Run.

For example, with a sym:approval Flow, after the “approve” Event is received, the actors may look like this:

{
    "prompt": <User A>,
    "request": <User A>,
    "approve": <User B>
}
property name

An alias for this resource’s slug, represented by its SRN.

property srn

A SRN object that represents the unique identifier for this resource.