-
Notifications
You must be signed in to change notification settings - Fork 11
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 datalad_next.utils.ParamDictator
#610
Conversation
This commit fixes a problem where `ParamDictator` tries to call the method `__getattr__` on an `object`-instance. `object` does not provide `__getattr__`, only `__getattribute__`. The commit adds a regression test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see that this class is not used at all. I'd be in favor of removing it. WDYT?
We would apply this fix regardless for now.
I don't mind removing it. But I would also do that at a later stage and merge this branch containing the fix for now. Especially because it also fixes the "pytest-deprecation" error in |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #610 +/- ##
==========================================
+ Coverage 92.92% 92.97% +0.05%
==========================================
Files 159 160 +1
Lines 11853 11863 +10
Branches 1794 1795 +1
==========================================
+ Hits 11014 11030 +16
+ Misses 651 643 -8
- Partials 188 190 +2 ☔ View full report in Codecov by Sentry. |
To get this quickly done, let's agree to do one of the following:
WDYT? |
Done. Tracking with #611 |
Fixes #609
Adds a regression test for
datalad_next.utils.ParamDictator
.