stilt.transforms.load_transform#
- stilt.transforms.load_transform(spec)[source]#
Return a transform for one config entry.
spec may already be a transform (anything with
apply), or a mapping with akind: a built-in name, or a dotted import path to a user class that is constructed from the remaining keys (cls.model_validatefor a pydantic model,cls(**keys)otherwise). An unimportable path yields anUnresolvedTransformrather than failing the load.