MCPcopy Index your code
hub / github.com/prompt-toolkit/ptpython / __init__

Method __init__

src/ptpython/completer.py:206–214  ·  view source on GitHub ↗
(
        self,
        get_globals: Callable[[], dict[str, Any]],
        get_locals: Callable[[], dict[str, Any]],
    )

Source from the content-addressed store, hash-verified

204 """
205
206 def __init__(
207 self,
208 get_globals: Callable[[], dict[str, Any]],
209 get_locals: Callable[[], dict[str, Any]],
210 ) -> None:
211 super().__init__()
212
213 self.get_globals = get_globals
214 self.get_locals = get_locals
215
216 def get_completions(
217 self, document: Document, complete_event: CompleteEvent

Callers 2

__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected