Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a617615

Browse files
committed
updated comment
1 parent 4a53d90 commit a617615

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
parser = reqparse.RequestParser()
2929
parser.add_argument('customer')
3030

31-
# Implement manual round-robin connection pooling
31+
# Implement singleton to avoid global objects
3232
class ConnectionManager(object):
3333
__instance = None
3434
__connection = None
@@ -123,7 +123,6 @@ def get(self):
123123
result = self.executeQueryJson("get")
124124
return result, 200
125125

126-
127126
# Create API routes
128127
api.add_resource(Customer, '/customer', '/customer/<customer_id>')
129128
api.add_resource(Customers, '/customers')

0 commit comments

Comments
 (0)