transform.CastMap

class transform.CastMap(*args: Any, **kwargs: Any)[source]

Cast all inputs according to type map.

Parameters:

type_map – dict with source_type: target_type (as strings)