Implement inspect request
See original GitHub issuePressing Shift+Tab brings up the inspector window in the notebook, which shows documentation of the function where the cursor is at. Input code must be parsed to correctly identify the symbol that documentation should be displayed for.
Example:
Placing the cursor in getprofile shows its documentation (correctly ignores previous lines):

Placing the cursor after getrecursionlimit’s opening bracket, it shows documentation of getrecusrionlimit(correctly ignores getprofile symbol):

This is the input that xeus receives:
code: a=5
b=10
sys.getprofile(sys.getrecursionlimit()
cursor_pos: 24
detail_level: 0```
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (7 by maintainers)
Top Results From Across the Web
Analyze HTTP Requests and Responses with Chrome Devtools
Let's use the Network DevTool to inspect an HTTP request and its corresponding response so that we can understand what the browser is...
Read more >Inspect HTTP requests - Beeceptor Docs
Beeceptor enables you to collect, parse, and view HTTP requests. You can create named endpoints and send requests. Use the endpoint's dashboard to...
Read more >Inspecting HTTP client requests - Peter Hilton
The simplest available tool for inspecting HTTP requests is netcat - called nc on the Unix command line. You can use netcat to...
Read more >Using the Browser's Developer Tools to Inspect the Pages ...
In this lesson, we're going to look at using your browser's developer tools to get a more detailed understanding of the HTTP requests...
Read more >How to find the HTTP request from google chrome inspect ...
Restated in a short - can I use the inspect element feature of google chrome and then ask it to show me the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Regarding stubs for VTK, once the docstrings are fixed, someone could write a Python utility script to introspect the wrappers and generate the stubs. I’m not keen on having the stubs be part of the VTK distribution (the wrappers are already too heavy), but having a script that generates the stubs on demand seems like a good solution.
PEP484 is useless in terms of describing the implementation (since it only talks about syntax). But after looking at Python’s
funcobject.c
the implementation seems pretty straightforward. It should be possible to add an__annotations__
dict toPyVTKMethodDescriptor.cxx
alongside the existing__doc__
attribute.