Search documentation
karat

+

K

User Documentation ↗

transforms.api.ContainerTransformsConfiguration

class transforms.api.ContainerTransformsConfiguration(transform, *, cpu_cores=None, memory_mb=None, memory_gb=None, gpu_type=None, container_image=None, container_tag=None, container_shell_command=None, incremental_override=None, identifier_override=None)

A callable object that describes a single step of a lightweight, single-node computation.

A ContainerTransform consists of a number of parameters that subclass the Param class and a compute function.

It is idiomatic to construct a Transform object using the provided decorator: transform.using().

Note that the original compute function is exposed via the ContainerTransform’s __call__() method.

Overload of ContainerTransform for backwards compatibility.

property reference

A reference to this transform, unique in the pipeline. This field is recomputed at each call to account for compute function renaming.