MCPcopy
hub / github.com/mitmproxy/mitmproxy / parse

Method parse

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

Source from the content-addressed store, hash-verified

252 return []
253
254 def parse(self, manager: "CommandManager", t: type, s: str) -> Sequence[str]:
255 return [x.strip() for x in s.split(",")]
256
257 def is_valid(self, manager: "CommandManager", typ: Any, val: Any) -> bool:
258 if isinstance(val, str) or isinstance(val, bytes):

Callers

nothing calls this directly

Calls 1

splitMethod · 0.45

Tested by

no test coverage detected