It seems that jedi-language-server would read a package's __init__.pyi to support its auto-completion. But sometimes, it may wrongly regards functions as variables.
For example, numpy.log is defined as log: _UFunc_Nin1_Nout1[L['log'], L[10], None], so jedi-language-server regards it as a variable. But in fact, it is a function.
BTW, VSCode's pylance is able to give proper hint in this case. Can jedi also do so?
It seems that
jedi-language-server
would read a package's__init__.pyi
to support its auto-completion. But sometimes, it may wrongly regards functions as variables.For example,
numpy.log
is defined aslog: _UFunc_Nin1_Nout1[L['log'], L[10], None]
, sojedi-language-server
regards it as a variable. But in fact, it is a function.BTW, VSCode's pylance is able to give proper hint in this case. Can
jedi
also do so?