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

fix: optional dependency imports #180

Merged
merged 4 commits into from
May 10, 2023
Merged

fix: optional dependency imports #180

merged 4 commits into from
May 10, 2023

Conversation

ab93
Copy link
Member

@ab93 ab93 commented May 10, 2023

Fixes an issue when a config-based import fails if one of the optional dependencies is not installed.

Signed-off-by: Avik Basu <ab93@users.noreply.github.com>
@ab93 ab93 self-assigned this May 10, 2023
@codecov
Copy link

codecov bot commented May 10, 2023

Codecov Report

Merging #180 (88fa96b) into main (6c21e95) will decrease coverage by 0.16%.
The diff coverage is 85.18%.

@@            Coverage Diff             @@
##             main     #180      +/-   ##
==========================================
- Coverage   96.96%   96.80%   -0.16%     
==========================================
  Files          36       36              
  Lines        1482     1503      +21     
  Branches      111      113       +2     
==========================================
+ Hits         1437     1455      +18     
- Misses         33       36       +3     
  Partials       12       12              
Impacted Files Coverage Δ
numalogic/config/__init__.py 100.00% <ø> (ø)
numalogic/registry/__init__.py 69.23% <66.66%> (-5.77%) ⬇️
numalogic/config/factory.py 97.91% <94.44%> (-2.09%) ⬇️

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Signed-off-by: Avik Basu <ab93@users.noreply.github.com>
@ab93 ab93 added the bug Something isn't working label May 10, 2023
@ab93 ab93 added this to the v0.4 milestone May 10, 2023
ab93 added 2 commits May 10, 2023 12:18
Signed-off-by: Avik Basu <ab93@users.noreply.github.com>
Signed-off-by: Avik Basu <ab93@users.noreply.github.com>
@ab93 ab93 marked this pull request as ready for review May 10, 2023 16:42
@ab93 ab93 requested a review from mboussarov May 10, 2023 16:42
@ab93 ab93 merged commit 0f7e6e0 into main May 10, 2023
@ab93 ab93 deleted the fix-imports branch May 10, 2023 20:30
ab93 added a commit that referenced this pull request May 10, 2023
Signed-off-by: Avik Basu <ab93@users.noreply.github.com>
ab93 added a commit that referenced this pull request May 11, 2023
Signed-off-by: Avik Basu <ab93@users.noreply.github.com>
@ab93 ab93 mentioned this pull request May 11, 2023
ab93 added a commit that referenced this pull request May 11, 2023
Signed-off-by: Avik Basu <ab93@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants