Skip to content

converter

Convert json or dict to Python objects.

converter = make_converter() module-attribute

cattrs converter to read JSON document or dict to Python objects.

percentage_hook(val, _)

Cattrs hook to validate percentage values.

positive_int_hook(val, _)

Cattrs hook to validate positive integer values.

ratio_hook(val, _)

Cattrs hook to validate ratio values.