Support PEP 692 completions #3046
Closed
multimeric
started this conversation in
Enhancement
Replies: 3 comments 2 replies
-
Moving this issue to discussion as an enhancement request for comments and upvotes. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I believe this is a valid enhancement as currently many functions and classes are using |
Beta Was this translation helpful? Give feedback.
0 replies
-
This should already be working. You just need to have arguments that have more than a single character (or hit CTRL+SPACE): |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When defining a function whose
**kwargs
have statically typed elements, as defined in PEP 692, ideally these statically typed arguments would be suggested as arguments when calling that function.For example, if I define
foo
as follows:I would hope for pylance to suggest
a
andb
as optional kwargs, but it does not:Beta Was this translation helpful? Give feedback.
All reactions