MCPcopy Index your code
hub / github.com/ipython/ipython / _get_query

Function _get_query

IPython/terminal/shortcuts/auto_suggest.py:29–30  ·  view source on GitHub ↗
(document: Document)

Source from the content-addressed store, hash-verified

27
28
29def _get_query(document: Document):
30 return document.lines[document.cursor_position_row]
31
32
33class AppendAutoSuggestionInAnyLine(Processor):

Callers 3

get_suggestionMethod · 0.85
accept_tokenFunction · 0.85
_swap_autosuggestionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…