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

Function serialize

test/mitmproxy/test_optmanager.py:257–262  ·  view source on GitHub ↗
(
        opts: optmanager.OptManager, text: str, defaults: bool = False
    )

Source from the content-addressed store, hash-verified

255
256def test_serialize():
257 def serialize(
258 opts: optmanager.OptManager, text: str, defaults: bool = False
259 ) -> str:
260 buf = io.StringIO()
261 optmanager.serialize(opts, buf, text, defaults)
262 return buf.getvalue()
263
264 o = TD2()
265 o.three = "set"

Callers 1

test_serializeFunction · 0.70

Calls 1

getvalueMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…