sas module

sas.convert_decimals_to_floats(obj)

Recursively converts all Decimal objects in a nested structure of dictionaries and lists to float objects.

Parameters

objany

The object to convert.

Returns

any

The converted object.

sas.convert_nested_map_decimal(nested_map)

Recursively converts all numbers in a nested structure of dictionaries and lists to Decimal objects.

Parameters

nested_mapdict

The nested structure to convert

Returns

dict

The converted nested structure

sas.functionE()