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

Method add

tutorial/py.tornado/PythonServer.py:46–48  ·  view source on GitHub ↗
(self, n1, n2)

Source from the content-addressed store, hash-verified

44 print("ping()")
45
46 def add(self, n1, n2):
47 print("add({}, {})".format(n1, n2))
48 return n1 + n2
49
50 def calculate(self, logid, work):
51 print("calculate({}, {})".format(logid, work))

Callers 1

communicateFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected