You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not possible to decorate functions with keyword only args, the reason being that it's not possible to define a signature with this property. But the no arg decorator works.
The text was updated successfully, but these errors were encountered:
Not sure what the UI would be: param(keyword_only=TRUE)? Verbose and easy to create impossible sigs. The * syntax can not be used as it is special to defs.
This is actually supported with a kw_only arg. Sometimes my code is so concise I forget I implemented it! But it seems missing in the docs so I will keep this open with the goal of fixing that.
piccolbo
changed the title
Support for keyword-only args
Document support for keyword-only args
Aug 23, 2019
It's not possible to decorate functions with keyword only args, the reason being that it's not possible to define a signature with this property. But the no arg decorator works.
The text was updated successfully, but these errors were encountered: