reuse
Reuse the result of a function call with the given arguments.
Signature
def reuse(
func: Callable,
args: Any = None,
kwargs: Any = None
) -> typing.Any
Parameters
Name | Description | Type | Default |
---|---|---|---|
func (required) | The function to reuse. | Callable | None |
args | Variable length argument list to pass to the function. | Any | None |
kwargs | Arbitrary keyword arguments to pass to the function. Any: The result of the function call. | Any | None |
Return Value
typing.Any