MCPcopy
hub / github.com/mitmproxy/mitmproxy / signature_help

Method signature_help

mitmproxy/command.py:109–115  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

107 return ret
108
109 def signature_help(self) -> str:
110 params = " ".join(str(param) for param in self.parameters)
111 if self.return_type:
112 ret = f" -> {typename(self.return_type)}"
113 else:
114 ret = ""
115 return f"{self.name} {params}{ret}"
116
117 def prepare_args(self, args: Sequence[str]) -> inspect.BoundArguments:
118 try:

Callers 5

test_varargsMethod · 0.95
test_callMethod · 0.95
dumpMethod · 0.80
refreshMethod · 0.80
getMethod · 0.80

Calls 2

typenameFunction · 0.85
joinMethod · 0.45

Tested by 2

test_varargsMethod · 0.76
test_callMethod · 0.76