Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Refactor and export format_serializers module #94

Merged
merged 2 commits into from
Feb 6, 2024

Conversation

aaraney
Copy link
Member

@aaraney aaraney commented Feb 6, 2024

The goal of this feature is to make it easier and more straightforward for Serializer subclasses to override the to_{{ format }}str method and by proxy, the to{{ format }} method.

ngen.init_config -- 0.0.5

Additions

  • format_serializers module. This module provides functions for serializing a python dictionary into ini, yaml, toml, and namelist formats.

Notes:

  • Given the age of this package (pre-0.1 release) and that things are still influx, I decided to only bump the patch version although it should technically be a minor version bump.

The goal of this feature is to make it easier and more straightforward
for Serializer subclasses to override the to_{{ format }}_str method and
by proxy, the to_{{ format }} method.
@aaraney aaraney requested a review from hellkite500 February 6, 2024 19:09
@aaraney aaraney added the ngen.init_config Related to ngen.init_config package label Feb 6, 2024
@hellkite500 hellkite500 merged commit 0e51a12 into NOAA-OWP:master Feb 6, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ngen.init_config Related to ngen.init_config package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants