module documentation

Common code used in the Temporal SDK.

Class QueryRejectCondition Whether a query should be rejected in certain conditions.
Class RetryPolicy Options for retrying workflows and activities.
Class WorkflowIDReusePolicy How already-in-use workflow IDs are handled on start.
Type Alias SearchAttributes Undocumented
Type Alias SearchAttributeValues Undocumented
Function _apply_headers Undocumented
Function _arg_or_args Undocumented
Function _type_hints_from_func Extracts the type hints from the function.
Variable _arg_unset Undocumented
Variable _non_user_defined_callables Undocumented
SearchAttributes: TypeAlias = (source)

Undocumented

Value
Mapping[str, SearchAttributeValues]
SearchAttributeValues: TypeAlias = (source)

Undocumented

Value
Union[List[str], List[int], List[float], List[bool], List[datetime]]
def _arg_or_args(arg: Any, args: Sequence[Any]) -> Sequence[Any]: (source)

Undocumented

def _type_hints_from_func(func: Callable) -> Tuple[Optional[List[Type]], Optional[Type]]: (source)

Extracts the type hints from the function.

Parameters
func:CallableFunction to extract hints from.
Returns
Tuple[Optional[List[Type]], Optional[Type]]Tuple containing parameter types and return type. The parameter types will be None if there are any non-positional parameters or if any of the parameters to not have an annotation that represents a class. If the first parameter is "self" with no attribute, it is not included.
_arg_unset = (source)

Undocumented

_non_user_defined_callables = (source)

Undocumented