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

DM-42937: Switch to pydantic-settings for configuration #145

Merged
merged 4 commits into from
Feb 17, 2024
Merged

Conversation

rra
Copy link
Member

@rra rra commented Feb 17, 2024

Use pydantic-settings to gather the configuration, and use a standard prefix of CUTOUT_ for all environment variables. Drop the SAFIR_LOG_NAME setting and add CONFIG_PATH_PREFIX to control the API path prefix.

Make the configuration setting names match the environment variables and use timedelta for more time deltas rather than integer numbers of seconds. Start using some of the Safir datetime support functions.

rra added 4 commits February 16, 2024 17:20
Use pydantic-settings to gather the configuration, and use a
standard prefix of CUTOUT_ for all environment variables. Drop the
SAFIR_LOG_NAME setting and add CONFIG_PATH_PREFIX to control the
API path prefix.

Make the configuration setting names match the environment
variables and use timedelta for more time deltas rather than
integer numbers of seconds. Start using some of the Safir datetime
support functions.
Since vo-cutouts requires workload identity, it's not really possible
to test it by running it locally. Drop the support for that.
Use one line per paragraph consistently throughout CHANGELOG.md,
since this is required for cutting and pasting into the GitHub
release page.
@rra rra merged commit 186e755 into main Feb 17, 2024
2 checks passed
@rra rra deleted the tickets/DM-42937 branch February 17, 2024 01:34
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