Skip to content

Allow optionals with a default value to be exclused from export#149

Open
aglavic wants to merge 2 commits intoreflectivity:mainfrom
aglavic:minor_fixes
Open

Allow optionals with a default value to be exclused from export#149
aglavic wants to merge 2 commits intoreflectivity:mainfrom
aglavic:minor_fixes

Conversation

@aglavic
Copy link
Collaborator

@aglavic aglavic commented Feb 13, 2026

Make the output YAML more concise by removing optional arguments not only when they are None but also when they have the default value. The particular application is in the model language wher the global ModelParameters always prints all value, even if the user just wanted to overwrite a single one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant