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

Class OptionCategory

src/ptpython/python_input.py:109–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107
108
109class OptionCategory(Generic[_T_lt]):
110 def __init__(self, title: str, options: list[Option[_T_lt]]) -> None:
111 self.title = title
112 self.options = options
113
114
115class Option(Generic[_T_lt]):

Callers 1

_create_optionsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected