The version of the task. If not provided, the version will be generated based on the cache policies. :type version: Optional[str]
serialize
bool
Boolean that indicates if identical (ie. same inputs) instances of this task should be executed in serial when caching is enabled. This means that given multiple concurrent executions over identical inputs, only a single instance executes and the rest wait to reuse the cached results. :type serialize: bool
ignored_inputs
typing.Union[typing.Tuple[str, ...], str]
A tuple of input names to ignore when generating the version hash. :type ignored_inputs: Union[Tuple[str, …], str]
salt
str
A salt used in the hash generation. :type salt: str
param func: The function to generate a version for. This is an optional parameter and can be any callable
that matches the specified parameter and return types.
:type func: Optional[Callable[P, FuncOut]]
The container image to generate a version for. This can be a string representing the image name or an ImageSpec object. :type container_image: Optional[Union[str, ImageSpec]]