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

Don't use OS environment variables when an explicit environment was set #3530

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

lonvia
Copy link
Member

@lonvia lonvia commented Sep 1, 2024

The Configuration object can either be instantiated to use the OS environment or be given an explicit set of configuration variables. This fixes an issue where giving an empty set of configuration variables would result in the OS environment being used.

Only use the OS environment, when the environ parameter is set
to None. Currently it would use the OS env on an empty dict.
@lonvia lonvia merged commit 3e6be0b into osm-search:master Sep 2, 2024
11 checks passed
@lonvia lonvia deleted the clean-use-of-os-environ branch September 2, 2024 07:49
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