Unstable
This function is unstable, API may change without warning. It will also raise unless use in proper context manager.
This act as a middle ground Completion
object between the jedi.api.classes.Completion
object and the Prompt Toolkit completion object. While Jedi need a lot of information about evaluator and how the code should be ran/inspected, PromptToolkit (and other frontend) mostly need user facing information.
Which range should be replaced replaced by what.
Some metadata (like completion type), or meta information to displayed to the use user.
For debugging purpose we can also store the origin of the completion ( jedi
, IPython.python_matches
, IPython.magics_matches
...).
Completion object used and return by IPython completers.
The following pages refer to to this document either explicitly or contain code examples using this.
papyri
Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.
Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)
SVG is more flexible but power hungry; and does not scale well to 50 + nodes.
All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them