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

Support config for multiple environments #448

Merged
merged 2 commits into from
Jul 25, 2024
Merged

Conversation

subhashb
Copy link
Contributor

This commit supports specifying configurations for multiple environments in the toml configuration file. The active environment is specified in the PROTEAN_ENV environment variable.

This commit adds support for specifying configurations for multiple
environments in the `toml` configuration file. The active enviroment
is specified in the `PROTEAN_ENV` enviroment variable.
@subhashb subhashb self-assigned this Jul 25, 2024
Copy link

codecov bot commented Jul 25, 2024

Codecov Report

Attention: Patch coverage is 89.47368% with 4 lines in your changes missing coverage. Please review.

Project coverage is 89.16%. Comparing base (7c720ab) to head (7f32a1f).

Files Patch % Lines
src/protean/container.py 82.35% 3 Missing ⚠️
src/protean/adapters/email/__init__.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #448      +/-   ##
==========================================
+ Coverage   89.14%   89.16%   +0.01%     
==========================================
  Files          71       71              
  Lines        5959     5969      +10     
  Branches     1198     1202       +4     
==========================================
+ Hits         5312     5322      +10     
- Misses        479      483       +4     
+ Partials      168      164       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@subhashb subhashb merged commit 7ab79a1 into main Jul 25, 2024
6 checks passed
@subhashb subhashb deleted the support-multiple-env-config branch July 25, 2024 18:37
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