You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When serializing a dataclass, there are cases in which we would like the output to be as concise as possible, and omit config entries if their value is the default one.
What do you think about adding a parameter to the encode/dump functions so that this behavior could be toggled on/off by the user?
The text was updated successfully, but these errors were encountered:
The main downside is that, while concise, saving the partial config means that changing the default in your dataclass might have unexpected results on older configs.
Will merge into the master alongside some other planned changes.
Hi,
When serializing a dataclass, there are cases in which we would like the output to be as concise as possible, and omit config entries if their value is the default one.
What do you think about adding a parameter to the encode/dump functions so that this behavior could be toggled on/off by the user?
The text was updated successfully, but these errors were encountered: