- Notifications
You must be signed in to change notification settings - Fork673
fix: checking if RESTManager._from_parent_attrs is set#1367
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
fix: checking if RESTManager._from_parent_attrs is set#1367
Uh oh!
There was an error while loading.Please reload this page.
Conversation
codecov-io commentedMar 7, 2021
Codecov Report
@@ Coverage Diff @@## master #1367 +/- ##==========================================- Coverage 79.94% 79.93% -0.01%========================================== Files 73 73 Lines 4008 4011 +3 ==========================================+ Hits 3204 3206 +2- Misses 804 805 +1
Flags with carried forward coverage won't be shown.Click here to find out more.
Continue to review full report at Codecov.
|
Prior to commit3727cbd
RESTManager._from_parent_attrs did not exist unless it was explicitly
set. But commit3727cbd set it to a
default value of {}.
So the checks using hasattr() were no longer valid.
Update the checks to check if RESTManager._from_parent_attrs has a
value.