We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccb1794 commit c5324b1Copy full SHA for c5324b1
python/rpc_client.py
@@ -2,7 +2,7 @@
2
import pika
3
import uuid
4
5
-class FibonacciClient(object):
+class FibonacciRpcClient(object):
6
def __init__(self):
7
self.connection = pika.BlockingConnection(pika.ConnectionParameters(
8
host='localhost'))
@@ -33,7 +33,7 @@ def call(self, n):
33
return int(self.response)
34
35
36
-fibonacci_rpc = FibonacciClient()
+fibonacci_rpc = FibonacciRpcClient()
37
38
print " [x] Requesting fib(30)"
39
response = fibonacci_rpc.call(30)
0 commit comments