MCPcopy
hub / github.com/mitmproxy/mitmproxy / __init__

Method __init__

mitmproxy/tools/console/grideditor/col_text.py:29–31  ·  view source on GitHub ↗
(self, data, encoding_args)

Source from the content-addressed store, hash-verified

27# This is the same for both edit and display.
28class EncodingMixin:
29 def __init__(self, data, encoding_args):
30 self.encoding_args = encoding_args
31 super().__init__(str(data).encode(*self.encoding_args)) # type: ignore
32
33 def get_data(self):
34 data = super().get_data() # type: ignore

Callers

nothing calls this directly

Calls 2

__init__Method · 0.45
encodeMethod · 0.45

Tested by

no test coverage detected