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

Change ValueError to UserConfigValidationException in casual_manager.py #2209

Merged
merged 5 commits into from
Aug 9, 2023

Conversation

gaugup
Copy link
Contributor

@gaugup gaugup commented Aug 2, 2023

The ValueError being raised is asking user to update the configuration. So this should be UserConfigValidationException.

Description

Checklist

  • I have added screenshots above for all UI changes.
  • I have added e2e tests for all UI changes.
  • Documentation was updated if it was needed.

The `ValueError` being raised is asking user to update the configuration. So this should be `UserConfigValidationException`.
Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>
@codecov-commenter
Copy link

codecov-commenter commented Aug 2, 2023

Codecov Report

Merging #2209 (ffd69c9) into main (c451b2f) will increase coverage by 3.61%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #2209      +/-   ##
==========================================
+ Coverage   88.62%   92.24%   +3.61%     
==========================================
  Files         117      103      -14     
  Lines        6376     5142    -1234     
==========================================
- Hits         5651     4743     -908     
+ Misses        725      399     -326     
Flag Coverage Δ
unittests 92.24% <100.00%> (+3.61%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
...onsibleai/responsibleai/managers/causal_manager.py 95.93% <100.00%> (ø)

... and 14 files with indirect coverage changes

@gaugup gaugup changed the title Change ValueError to UserConfigValidationException Change ValueError to UserConfigValidationException in casual_manager.py Aug 2, 2023
@gaugup gaugup enabled auto-merge (squash) August 3, 2023 04:22
@gaugup gaugup merged commit 5eced64 into main Aug 9, 2023
@gaugup gaugup deleted the gaugup/UpdateExceptionType branch August 9, 2023 20:01
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.

4 participants