Upgrading dependencies to gorealis v2 and thrift 0.12.0
This commit is contained in:
parent
7cbbea498b
commit
54b8d7942a
1327 changed files with 137391 additions and 61476 deletions
3
vendor/git.apache.org/thrift.git/tutorial/py/PythonServer.py
generated
vendored
3
vendor/git.apache.org/thrift.git/tutorial/py/PythonServer.py
generated
vendored
|
@ -82,10 +82,11 @@ class CalculatorHandler:
|
|||
def zip(self):
|
||||
print('zip()')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
handler = CalculatorHandler()
|
||||
processor = Calculator.Processor(handler)
|
||||
transport = TSocket.TServerSocket(port=9090)
|
||||
transport = TSocket.TServerSocket(host='127.0.0.1', port=9090)
|
||||
tfactory = TTransport.TBufferedTransportFactory()
|
||||
pfactory = TBinaryProtocol.TBinaryProtocolFactory()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue