MCPcopy Create free account
hub / github.com/apache/thrift / add

Method add

tutorial/py/PythonServer.py:45–47  ·  view source on GitHub ↗
(self, n1, n2)

Source from the content-addressed store, hash-verified

43 print('ping()')
44
45 def add(self, n1, n2):
46 print('add(%d,%d)' % (n1, n2))
47 return n1 + n2
48
49 def calculate(self, logid, work):
50 print('calculate(%d, %r)' % (logid, work))

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected