MCPcopy Index your code
hub / github.com/mitmproxy/mitmproxy / can_edit_inplace

Function can_edit_inplace

mitmproxy/tools/console/options.py:20–24  ·  view source on GitHub ↗
(opt)

Source from the content-addressed store, hash-verified

18
19
20def can_edit_inplace(opt):
21 if opt.choices:
22 return False
23 if opt.typespec in [str, int, Optional[str], Optional[int]]:
24 return True
25
26
27class OptionItem(urwid.WidgetWrap):

Callers 1

keypressMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…