class documentation

Undocumented

Class Method get_name_and_result_type Undocumented
Static Method from_class Undocumented
Static Method from_run_fn Undocumented
Static Method must_from_class Undocumented
Static Method must_from_run_fn Undocumented
Method __post_init__ Undocumented
Class Variable arg_types Undocumented
Class Variable cls Undocumented
Class Variable failure_exception_types Undocumented
Class Variable name Undocumented
Class Variable queries Undocumented
Class Variable ret_type Undocumented
Class Variable run_fn Undocumented
Class Variable sandboxed Undocumented
Class Variable signals Undocumented
Class Variable updates Undocumented
Static Method _apply_to_class Undocumented
@classmethod
def get_name_and_result_type(cls, name_or_run_fn: str | Callable[..., Awaitable[Any]]) -> tuple[str, type | None]: (source)

Undocumented

@staticmethod
def from_class(cls: type) -> _Definition | None: (source)

Undocumented

Undocumented

@staticmethod
def must_from_class(cls: type) -> _Definition: (source)

Undocumented

@staticmethod
def must_from_run_fn(fn: Callable[..., Awaitable[Any]]) -> _Definition: (source)

Undocumented

def __post_init__(self): (source)

Undocumented

arg_types: list[type] | None = (source)

Undocumented

Undocumented

failure_exception_types: Sequence[type[BaseException]] = (source)

Undocumented

Undocumented

ret_type: type | None = (source)

Undocumented

Undocumented

sandboxed: bool = (source)

Undocumented

@staticmethod
def _apply_to_class(cls: type, *, workflow_name: str | None, sandboxed: bool, failure_exception_types: Sequence[type[BaseException]]): (source)

Undocumented