class documentation

class RestrictionContext: (source)

Constructor: RestrictionContext()

View In Hierarchy

Context passed around restrictions.

Static Method unwrap_if_proxied Unwrap a proxy object if proxied.
Method __init__ Create a restriction context.
Instance Variable is_runtime True if we're currently running the workflow, False if we're just importing it.
@staticmethod
def unwrap_if_proxied(v: Any) -> Any: (source)

Unwrap a proxy object if proxied.

def __init__(self): (source)

Create a restriction context.

is_runtime: bool = (source)

True if we're currently running the workflow, False if we're just importing it.