The function’s documentation string (Jupyter) is not working when I use methods of a class into the second class #13330
Unanswered
abolfazldelavar
asked this question in
Questions and Answers
Replies: 1 comment
-
Dear all, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear all,
I have a class in Jupyter (in VS Code) named
a
including another class as a method namedb
. In theb
class, there is a function namedc
. Now, when I want to use that in Jupyter, I will have to writea.b.c()
to have access to that. In Jupyter, usually when we hover the name of any functions, the navigator of VS Code shows us the instruction of the function. Note that I have some instruction for the functionc
.However, when I hover the name of
c
in thea.b.c()
, nothing will happen. In other words, I guess the VB Code Jupyter can not detect that function to pop up its documentation immediately.It is worth mentioning that the code can be run without any problem and the only problem I have is with the hover action which I need to have the functions documentations immediately. I have this issue when I use class into the other class like
a.b.c()
and there is no problem in showing the documentation for a function in only one class likea.d()
as long asd
is a function ina
class. In other words, when I hoverd
in the expressiona.d()
, every thing is OK and the documentation ofd
will be shown, while it does not work forc
when I hover it ina.b.c()
. Note that it happens especially when I write the whole code in different parts in a Jupyter file, not just in a chunk of code continually.Let me share the piece of code to elaborate more:
The below images shows the consequence of what I have just shared with you. As it is clear,
c
are unknown for jupyter. why?!how can I fix it?
Beta Was this translation helpful? Give feedback.
All reactions