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

Adds environment variable alternatives to config items #210

Merged
merged 7 commits into from
Feb 4, 2024

Conversation

joewesch
Copy link
Contributor

This PR simply adds a few namespaced environment variables as alternatives to needing a config file. I am primarily interested in this so I can run the container in kubernetes and not need to maintain a volume.

@joewesch joewesch marked this pull request as ready for review January 27, 2024 23:05
Copy link
Owner

@jdholtz jdholtz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR, especially for adding the documentation and tests along with the feature! Most comments here are style-specific. There are just a few functionality-specific ones that we can talk about.

lib/config.py Outdated Show resolved Hide resolved
lib/config.py Show resolved Hide resolved
lib/config.py Outdated Show resolved Hide resolved
lib/config.py Outdated Show resolved Hide resolved
lib/config.py Show resolved Hide resolved
lib/config.py Outdated Show resolved Hide resolved
lib/utils.py Outdated Show resolved Hide resolved
tests/unit/test_config.py Outdated Show resolved Hide resolved
tests/unit/test_config.py Outdated Show resolved Hide resolved
@jdholtz
Copy link
Owner

jdholtz commented Feb 4, 2024

Thanks for the changes! I added one comment to revert a change, which I didn't think fully through (and is ultimately unnecessary). Also, the formatting workflow will fail right now due to lines being too long, so once black is run on the files, I will merge this.

@jdholtz jdholtz merged commit 6b29121 into jdholtz:develop Feb 4, 2024
19 checks passed
@jdholtz
Copy link
Owner

jdholtz commented Feb 4, 2024

Thanks!

@joewesch joewesch deleted the env-vars branch February 4, 2024 19:40
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.

2 participants