Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
29
def
_get_query(document: Document):
30
return
document.lines[document.cursor_position_row]
31
32
33
class
AppendAutoSuggestionInAnyLine(Processor):
Callers
3
get_suggestion
Method · 0.85
accept_token
Function · 0.85
_swap_autosuggestion
Function · 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…