class documentation

Undocumented

Method __call__ Undocumented
Method __eq__ Undocumented
Method __hash__ Undocumented
Method __init__ Undocumented
Method options Undocumented
Method rpc Undocumented
Method run Undocumented
Class Variable __name__ Undocumented
Class Variable __type_params__ Undocumented
Property func Undocumented
Property name Undocumented
Instance Variable _func Undocumented
Instance Variable _name Undocumented
Instance Variable _opts Undocumented
Instance Variable _resonate Undocumented
def __call__(self, ctx: Context, *args: P.args, **kwargs: P.kwargs) -> R:

Undocumented

def __eq__(self, other: object) -> bool:

Undocumented

def __hash__(self) -> int:

Undocumented

def __init__(self, resonate: Resonate, name: str, func: Callable[Concatenate[Context, P], R], opts: Options):

Undocumented

def options(self, *, encoder: Encoder[Any, str | None] | None = None, idempotency_key: str | Callable[[str], str] | None = None, retry_policy: RetryPolicy | Callable[[Callable], RetryPolicy] | None = None, tags: dict[str, str] | None = None, target: str | None = None, timeout: float | None = None, version: int | None = None) -> Function[P, R]:

Undocumented

def rpc(self: Function[P, Generator[Any, Any, T] | T], id: str, *args: P.args, **kwargs: P.kwargs) -> Handle[T]:

Undocumented

def run(self: Function[P, Generator[Any, Any, T] | T], id: str, *args: P.args, **kwargs: P.kwargs) -> Handle[T]:

Undocumented

__name__: str =

Undocumented

__type_params__: tuple[TypeVar | ParamSpec | TypeVarTuple, ...] =

Undocumented

@property
func: Callable[Concatenate[Context, P], R] =

Undocumented

@property
name: str =

Undocumented

_func =

Undocumented

_name =

Undocumented

_opts =

Undocumented

_resonate =

Undocumented