-
Notifications
You must be signed in to change notification settings - Fork 748
Feature/named arg support #953
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
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.
Thank you very very much for this addition, this was a quite long-standing issue. The only thing missing is handling for optional non-default parameters that are allowed in both C# and F#.
Codecov Report
@@ Coverage Diff @@
## master #953 +/- ##
=======================================
Coverage 86.71% 86.71%
=======================================
Files 1 1
Lines 301 301
=======================================
Hits 261 261
Misses 40 40
Continue to review full report at Codecov.
|
Great, thanks :) I'm not sure whether this DLL runs completely on .NET 4.0 anyway, we're going to require at least 4.7.2 in the future for .NET Standard compatibility. Since you left a comment on the respective line, we can shorten this later, though, so that's completely fine. |
* Add support for named arguments (pythonnet#849) * Remove kwarg check since it breaks the python-derived CLR class use-case * Add named parameter test cases * Update changelog and authors * Add default params tests
* Add support for named arguments (pythonnet#849) * Remove kwarg check since it breaks the python-derived CLR class use-case * Add named parameter test cases * Update changelog and authors * Add default params tests
What does this implement/fix? Explain your changes.
Adds support for kwarg/named arguments when calling .NET methods from python
...
Does this close any currently open issues?
Yes, #849
...
Any other comments?
...
Checklist
Check all those that are applicable and complete.
AUTHORS
CHANGELOG