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

updated init in config to take in .env.local #212

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nargis-sultani
Copy link
Contributor

closes #211

Copy link

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  src/regtech_user_fi_management
  config.py
Project Total  

This report was generated by python-coverage-comment-action

def __init__(self, **data):
super().__init__(**data)
def __init__(self, _env_file: DotenvType | None = ENV_FILE_SENTINEL, **data):
super().__init__(_env_file=_env_file, **data)
Copy link
Contributor

Choose a reason for hiding this comment

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

Realized we don't need this. Because the Settings was already taking in **data, code using Settings can already pass in Settings(_env_file='something') and that will be passed to BaseSettings. Same would go with the KeycloakSettings in commons-api.

@lchen-2101
Copy link
Collaborator

Doesn't seem like this is needed? Double check before we close this out.

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.

Update init in config to take in .env.local file location
3 participants