MCPcopy
hub / github.com/mitmproxy/mitmproxy / TDec

Class TDec

test/mitmproxy/test_command.py:621–633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

619
620
621class TDec:
622 @command.command("cmd1")
623 def cmd1(self, foo: str) -> str:
624 """cmd1 help"""
625 return "ret " + foo
626
627 @command.command("cmd2")
628 def cmd2(self, foo: str) -> str:
629 return 99
630
631 @command.command("empty")
632 def empty(self) -> None:
633 pass
634
635
636class TAttr:

Callers 1

test_decoratorFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_decoratorFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…