MCPcopy
hub / github.com/mitmproxy/mitmproxy / completion

Method completion

mitmproxy/types.py:130–131  ·  view source on GitHub ↗
(self, manager: "CommandManager", t: type, s: str)

Source from the content-addressed store, hash-verified

128 return codecs.decode(match.group(0), "unicode-escape") # type: ignore
129
130 def completion(self, manager: "CommandManager", t: type, s: str) -> Sequence[str]:
131 return []
132
133 def parse(self, manager: "CommandManager", t: type, s: str) -> str:
134 return self.escape_sequences.sub(self._unescape, s)

Callers 15

test_boolFunction · 0.45
test_strFunction · 0.45
test_bytesFunction · 0.45
test_unknownFunction · 0.45
test_intFunction · 0.45
normPathOptsFunction · 0.45
test_pathFunction · 0.45
test_cmdFunction · 0.45
test_cutspecFunction · 0.45
test_markerFunction · 0.45
test_argFunction · 0.45
test_strseqFunction · 0.45

Calls

no outgoing calls

Tested by 15

test_boolFunction · 0.36
test_strFunction · 0.36
test_bytesFunction · 0.36
test_unknownFunction · 0.36
test_intFunction · 0.36
normPathOptsFunction · 0.36
test_pathFunction · 0.36
test_cmdFunction · 0.36
test_cutspecFunction · 0.36
test_markerFunction · 0.36
test_argFunction · 0.36
test_strseqFunction · 0.36