-
Notifications
You must be signed in to change notification settings - Fork 8
[NFC] Reduce kwarg duplication #39
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
Conversation
|
My only problem is that the But internally - forwarding kwargs from our exposed functions to the internal implementations - I think this is a good idea, if you'd be okay with updating this PR (including the new multithreaded algorithms in 0.4.0 - sorry 😅) |
|
It should error once it reaches the implementation. Maybe I can add a test for every public method to ensure that it properly throws an I'll rebase #38 since this PR depends on it, and once that's merged I'll take care of this one |
|
@anicusan This is ready for final review. I probably shouldn't have force-pushed so I'll detail the changes I've made. Changes mixed in with the force push:
And then I also applied some of the same refactors into the new 0.4 files, and I removed Please let me know before merging, I want to clean up the commit history beforehand. |
|
oneAPI error seems like an upstream issue. I've encountered it before |
|
This is great, thanks for also adding the MethodError tests. It's good to merge from my side - feel free to do any commit cleanup you'd like :) |
|
Merge away! |
|
Really appreciate this, @christiangnrd |
This is essentially #38 for the rest of the package, as well as some opinionated (but non-functional) related changes.
Pros:
Cons:
@anicusan I wrote this up to be helpful, none of this is necessary for my GSOC objectives. If you like it, great! If not, no problem, I'll just close this PR. I do think bringing down the "sources of truth" could help with preventing bugs from copy-paste or things like #37.