ProtixIT / dataclass-binder

Python library to bind TOML data to dataclasses in a type-safe way
MIT License
13 stars 2 forks source link

Omit values that are formatted equally to the default #36

Closed mthuurne closed 1 year ago

mthuurne commented 1 year ago

This avoids outputting a value with equal to the default in cases where the Python object is unequal but the TOML representation is, for example when the default is a tuple but the actual value is a list containing the same elements.

Closes #32