-
Notifications
You must be signed in to change notification settings - Fork 90
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
IDE autocomplete support #103
Labels
Comments
This should be possible with a bit of code reorganization. I'll look into it when I have some time. |
@sloria |
sloria
added a commit
that referenced
this issue
Sep 21, 2019
In order to fix static analysis #103. Side effect: add_parser will error if called with a name that conflicts with a default parser name.
sloria
added a commit
that referenced
this issue
Sep 22, 2019
* Make default parser methods bound methods In order to fix static analysis #103. Side effect: add_parser will error if called with a name that conflicts with a default parser name. * Rename __parser_map__ to __custom_parsers__
This should be implemented in 6.0.0. Please give it a try! |
It works, thanks. I had to annotate the type explicitly in PyCharm. env = Env() # type: Env |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
HI!
Thanks for the package, looks amazing, but what about IDE autocomplete / IntelliSense / hints?
The IDE (I'm using PyCharm) does not prompt existing methods of the
Env
class instance (see picture below).For me, this is an important drawback of this package.
Will it be decided?
Thanks!
The text was updated successfully, but these errors were encountered: