Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Classes | Functions | Variables
cattrs.preconf.tomlkit Namespace Reference

Classes

class  TomlkitConverter
 

Functions

 configure_converter (BaseConverter converter)
 
TomlkitConverter make_converter (*Any args, **Any kwargs)
 

Variables

 T = TypeVar("T")
 
 _enum_value_getter = attrgetter("_value_")
 

Detailed Description

Preconfigured converters for tomlkit.

Function Documentation

◆ configure_converter()

cattrs.preconf.tomlkit.configure_converter ( BaseConverter  converter)
Configure the converter for use with the tomlkit library.

* bytes are serialized as base85 strings
* sets are serialized as lists
* tuples are serializas as lists
* mapping keys are coerced into strings when unstructuring