flytekit.VersionParameters#
- class flytekit.VersionParameters(func, container_image=None, pod_template=None, pod_template_name=None)[source]#
Parameters used for version hash generation.
- 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.
- Parameters:
container_image (Optional[Union[str, ImageSpec]]) – The container image to generate a version for. This can be a string representing the image name or an ImageSpec object.
func (Optional[Callable[P, FuncOut]])
pod_template (PodTemplate | None)
pod_template_name (str | None)
Methods
Attributes
- pod_template: PodTemplate | None = None
- func: Callable[[P], FuncOut]