-
Notifications
You must be signed in to change notification settings - Fork 247
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
(python): pylance type check error #2877
Labels
bug
This issue is a bug.
language/python
Related to Python bindings
module/jsii
Issues affecting the `jsii` module.
p2
Comments
Transferring this to jsii. |
nija-at
changed the title
(lambda): pylance type check error
(python): pylance type check error
Jun 10, 2021
peterwoodworth
added
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
labels
Jul 19, 2021
This issue occurs all over with all static "properties" (but in fact methods) like this one. |
NGL321
added
language/python
Related to Python bindings
p2
module/jsii
Issues affecting the `jsii` module.
and removed
needs-triage
This issue or PR still needs to be triaged.
labels
Jan 7, 2022
This was fixed in #3694 |
Duplicate of #3633 |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
This issue is a bug.
language/python
Related to Python bindings
module/jsii
Issues affecting the `jsii` module.
p2
In VSCode when using Pylance I get the following type check error for
runtime
argument in_lambda.Function
:Reproduction Steps
Open VSCode and install python extension(which includes pylance)
What did you expect to happen?
It should not give the type check error since this package is fully typed to help developers.
What actually happened?
It gives type check error.
Environment
Other
This is happening because
PYTHON_3_8
is a class method not a class property by how it is defined.This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: