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

Method get_values

src/ptpython/python_input.py:582–586  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

580 return values[bool(getattr(self, field_name))]
581
582 def get_values() -> dict[str, Callable[[], bool]]:
583 return {
584 values[1]: lambda: enable(field_name),
585 values[0]: lambda: disable(field_name),
586 }
587
588 return Option(
589 title=title,

Callers 1

valuesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected