Back to the room

Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works

Code Observatory / function

query_terms

codeintel.text.query_terms

PINNED SOURCE Source and edges from the index at this commit. An execution appears only where one was recorded.

PHAROS at 975a38dMIT license

Around this symbol

Search all symbols

Loading

Calls (1)
SymbolFileResolved by
tokenizetext.pysame file
Called by (1)
SymbolFileResolved by
searchretrieval.pythrough an import
Inside (1)
SymbolFileResolved by
texttext.pysame file
codeintel.text.query_termsbackend/app/codeintel/text.py, lines 58–60Open source
def query_terms(query: str) -> list[str]:    """Distinct search terms for a user query, in order."""    return list(dict.fromkeys(tokenize(query)))

What the index recorded

Signature
def query_terms(query: str) -> list[str]:
File
backend/app/codeintel/text.py
Lines
58–60
Parser
python-ast
Git blob
74781c9c047d5953611fd7634b2cf29e7661b895
Call sites
3 named, 1 resolved, 2 left unlinked
Outside this subset
3 more edges reach code outside the graph shown here

Read it on GitHub at this commit