-
Notifications
You must be signed in to change notification settings - Fork 58
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
Missing Autocomplete in VSCode / PyCharm #187
Comments
Thanks for your test. I just did a fresh installation on VSCode and entered same lines of code from your example above. Anybody able to confirm my behaviour on MacOS? |
I can confirm the issue on MacOS |
yep, seeing the same on macOS/vscode |
Unfortunately, these don't get automagically created by Maturin/PyO3 at this point and need to be manually created as a pyi stub file. There is an issue open with a proposal to automate this as it would be quite cumbersome to maintain. |
I just reproduced this error on a mac mini here, and in the Python extension server log file, I'm seeing the following error:
Are you all seeing similar errors? |
Looks like this will be fixed in the next release of pylance: microsoft/pylance-release#5090 (comment) |
There are a few things being discussed in this issue, but I believe on all counts this is fixed:
|
Bug Description
Hello together,
I use bytewax within a virtual environment. Environment was created under Python 3.10.9 using the command
python -m venv .venv
and then I activated the environment. I installed bytewax via pip and can create imports.
from bytewax.dataflow import Dataflow
The problem is that "Dataflow" is not found within the IDE. This means that autocomplete, etc. do not work.
However, I can execute and use Dataflow without any problems. It is only annoying within the IDEs.
Python version (
python -V
)Python 3.10.9
Bytewax version (pip list | grep bytewax)
0.14.0
Relevant log output
Steps to Reproduce
from bytewax.dataflow import Dataflow
The text was updated successfully, but these errors were encountered: