MCPcopy
hub / github.com/mitmproxy/mitmproxy / __repr__

Method __repr__

mitmproxy/optmanager.py:302–308  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

300 self.update(**toset)
301
302 def __repr__(self):
303 options = pprint.pformat(self._options, indent=4).strip(" {}")
304 if "\n" in options:
305 options = "\n " + options + "\n"
306 return "{mod}.{cls}({{{options}}})".format(
307 mod=type(self).__module__, cls=type(self).__name__, options=options
308 )
309
310 def set(self, *specs: str, defer: bool = False) -> None:
311 """

Callers

nothing calls this directly

Calls 1

formatMethod · 0.80

Tested by

no test coverage detected