![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|
Classes | |
| class | PyyamlConverter |
Functions | |
| validate_date (v, _) | |
| configure_converter (BaseConverter converter) | |
| PyyamlConverter | make_converter (*Any args, **Any kwargs) |
Variables | |
| T = TypeVar("T") | |
Preconfigured converters for pyyaml.
| cattrs.preconf.pyyaml.configure_converter | ( | BaseConverter | converter | ) |
Configure the converter for use with the pyyaml library.
* frozensets are serialized as lists
* string enums are converted into strings explicitly
* datetimes and dates are validated
* typed namedtuples are serialized as lists
.. versionchanged: 24.1.0
Add support for typed namedtuples.