temporalio.common

module documentation

Common code used in the Temporal SDK.

Extracts the type hints from the function.

Parameters
func:CallableFunction to extract hints from.
Returns
tuple[list[type] | None, type | None]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.

def _warn_on_deprecated_search_attributes(attributes: SearchAttributes | Any | None, stack_level: int = 2): (source) ΒΆ