feat: Force .env file settings over real environment variable values [COG-1333] (#537)
<!-- .github/pull_request_template.md --> ## Description Force .env file settings over real environment variable values ## DCO Affirmation I affirm that all code in every commit of this pull request conforms to the terms of the Topoteretes Developer Certificate of Origin <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Chores** - Refined configuration handling so that settings from your configuration file reliably take precedence over existing values, ensuring a smoother and more predictable experience. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
parent
46e026f77f
commit
ea88beb687
1 changed files with 1 additions and 1 deletions
|
|
@ -15,6 +15,6 @@ from .modules import pipelines
|
||||||
try:
|
try:
|
||||||
import dotenv
|
import dotenv
|
||||||
|
|
||||||
dotenv.load_dotenv()
|
dotenv.load_dotenv(override=True)
|
||||||
except ImportError:
|
except ImportError:
|
||||||
pass
|
pass
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue