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: Move flag evaluation details to a dataclass #27

Merged
merged 6 commits into from
Oct 18, 2022

Conversation

ajhelsby
Copy link
Contributor

This PR

Move flag evaluation details to a dataclass and add error message to the class

  • FlagEvaluationDetails has been moved to a dataclass
  • error_message has been added to the FlagEvaluationDetails class

…nd add error message to the class

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>
@ajhelsby ajhelsby changed the title fix/flag-error-message: Move flag evaluation details to a dataclass fix: Move flag evaluation details to a dataclass Oct 18, 2022
…atch spec

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>
Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>
@codecov-commenter
Copy link

codecov-commenter commented Oct 18, 2022

Codecov Report

Merging #27 (c7d5b47) into main (7ef8667) will increase coverage by 0.16%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #27      +/-   ##
==========================================
+ Coverage   85.38%   85.55%   +0.16%     
==========================================
  Files          15       15              
  Lines         260      263       +3     
==========================================
+ Hits          222      225       +3     
  Misses         38       38              
Flag Coverage Δ
unittests 85.55% <100.00%> (+0.16%) ⬆️

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

Impacted Files Coverage Δ
open_feature/provider/no_op_provider.py 88.23% <ø> (ø)
open_feature/provider/provider.py 73.68% <ø> (ø)
...feature/flag_evaluation/flag_evaluation_details.py 100.00% <100.00%> (ø)

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

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>
@ajhelsby ajhelsby linked an issue Oct 18, 2022 that may be closed by this pull request
Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>
Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>

Signed-off-by: Andrew Helsby <ajhelsby@hotmail.com>
@ajhelsby ajhelsby merged commit b44224b into main Oct 18, 2022
@ajhelsby ajhelsby deleted the fix/flag-error-message branch November 15, 2022 11:48
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.

[BUG] ExceptionObject has no attribute error_message
3 participants