API
tsm_transmute(context, data_dict)
Transmute data using the schema.
The function creates a deep copy of the data and performs all modifications on the copy.
PARAMETER | DESCRIPTION |
---|---|
data
|
A data dict to transmute
TYPE:
|
schema
|
schema to transmute data
TYPE:
|
root
|
a root schema type
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
dict[str, Any]
|
Transmuted data |