Skip to content

diot.utils

module

diot.utils

Utilities for diot

Classes
Functions
  • nest(value, types, dest_type, frozen) (any) Convert values with certain types recursively</>
  • to_dict(value) (dict) Convert converted Diot objects back to dict</>
class

diot.utils.DiotFrozenError()

Bases
Exception BaseException

When try to modify a frozen diot

function

diot.utils.nest(value, types, dest_type, frozen) → any

Convert values with certain types recursively

function

diot.utils.to_dict(value) → dict

Convert converted Diot objects back to dict