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 4a53d90 commit a617615Copy full SHA for a617615
app.py
@@ -28,7 +28,7 @@
28
parser = reqparse.RequestParser()
29
parser.add_argument('customer')
30
31
-# Implement manual round-robin connection pooling
+# Implement singleton to avoid global objects
32
class ConnectionManager(object):
33
__instance = None
34
__connection = None
@@ -123,7 +123,6 @@ def get(self):
123
result = self.executeQueryJson("get")
124
return result, 200
125
126
-
127
# Create API routes
128
api.add_resource(Customer, '/customer', '/customer/<customer_id>')
129
api.add_resource(Customers, '/customers')
0 commit comments