To enable code auto-completion, configure your editor to use the stubs located in this directory.
Note: All the python files in this directory use the .pyi extension, which was added in PEP 484 (Python 3.5). For python versions less than 3.5, use the stubs located in the stubs-legacy directory.
If you are using Visual Studio Code, a settings file has already been provided. To use it, clone this repo then open the folder in VS Code.
If you are using PyCharm, mark the "stubs" directory as "Sources Root". PyCharm uses the source roots as the starting point for resolving imports.
Notable known limitations:
- Wildcard imports are not supported (
from x import *
) - Since method overloads work differently in python, autocomplete options will look like
func(args)
or something similar
Note: The stubs require some additional modifications in order to expose all auto-complete options. Note that not all options will be available, especially as new versions are released. Always refer to the product documentation for a complete list of functionality.