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

Method completion

mitmproxy/types.py:430–431  ·  view source on GitHub ↗
(self, manager: "CommandManager", t: Choice, s: str)

Source from the content-addressed store, hash-verified

428 display = "choice"
429
430 def completion(self, manager: "CommandManager", t: Choice, s: str) -> Sequence[str]:
431 return manager.execute(t.options_command)
432
433 def parse(self, manager: "CommandManager", t: Choice, s: str) -> str:
434 opts = manager.execute(t.options_command)

Callers

nothing calls this directly

Calls 1

executeMethod · 0.80

Tested by

no test coverage detected