Files
OpenLLM/typings/IPython/terminal/ptutils.pyi
Aaron Pham c7f4dc7bb2 feat(test): snapshot testing (#107)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-07-10 17:23:19 -04:00

30 lines
731 B
Python
Generated

"""
This type stub file was generated by pyright.
"""
from prompt_toolkit.completion import Completer
from prompt_toolkit.lexers import Lexer
"""prompt-toolkit utilities
Everything in this module is a private API,
not to be used outside IPython.
"""
_completion_sentinel = ...
class IPythonPTCompleter(Completer):
"""Adaptor to provide IPython completions to prompt_toolkit"""
def __init__(self, ipy_completer=..., shell=...) -> None: ...
@property
def ipy_completer(self): ...
def get_completions(self, document, complete_event): ...
class IPythonPTLexer(Lexer):
"""
Wrapper around PythonLexer and BashLexer.
"""
def __init__(self) -> None: ...
def lex_document(self, document): ...