MCPcopy Index your code
hub / github.com/python/cpython / ClassWithAnnotation

Class ClassWithAnnotation

Lib/test/test_docxmlrpc.py:57–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 return x
56
57 class ClassWithAnnotation:
58 def method_annotation(self, x: bytes):
59 return x.decode()
60
61 serv.register_function(add)
62 serv.register_function(lambda x, y: x-y)

Callers 1

make_serverFunction · 0.85

Calls

no outgoing calls

Tested by 1

make_serverFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…