Skip to content
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

I find that pymongo completion is very slow - is there a way to cache this? #56

Closed
cmorgan opened this issue Jul 13, 2021 · 3 comments
Closed

Comments

@cmorgan
Copy link

cmorgan commented Jul 13, 2021

I notice that libraries like numpy and others are pre-cached for the completion and API exploration, is it possible to do this for other libraries?
Thanks

@krassowski
Copy link
Member

This is a good point for #26.

@krassowski
Copy link
Member

I added an option to customise the list of libraries for which the labels should be cached in #26, but as for the internal caching that Jedi does on its side (https://github.com/davidhalter/jedi/blob/master/jedi/inference/helpers.py#L194-L202) I think that you would need to open an issue in the Jedi repository: https://github.com/davidhalter/jedi.

@cmorgan
Copy link
Author

cmorgan commented Jul 14, 2021

great stuff, thanks for this! Will open Jedi issue, in the short term i'll monkey patch "helpers.is_big_annoying_library"
Cheers

@cmorgan cmorgan closed this as completed Jul 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants