summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/interfaces.py
diff options
context:
space:
mode:
authorJason Kirtland <jek@discorporate.us>2007-08-22 08:33:09 +0000
committerJason Kirtland <jek@discorporate.us>2007-08-22 08:33:09 +0000
commit06881d849db31f5d4f17083dd3d8023a7d783b67 (patch)
tree7f62994b454763a220d83237e11e212dd2158c1c /lib/sqlalchemy/interfaces.py
parentf981981235d512d892c1619cc6f7561ac3461d2e (diff)
downloadsqlalchemy-06881d849db31f5d4f17083dd3d8023a7d783b67.tar.gz
Housekeeping.
Diffstat (limited to 'lib/sqlalchemy/interfaces.py')
-rw-r--r--lib/sqlalchemy/interfaces.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sqlalchemy/interfaces.py b/lib/sqlalchemy/interfaces.py
index fef82626c..ae2aeed69 100644
--- a/lib/sqlalchemy/interfaces.py
+++ b/lib/sqlalchemy/interfaces.py
@@ -42,7 +42,7 @@ class PoolListener(object):
providing implementations for the hooks you'll be using.
"""
- def connect(dbapi_con, con_record):
+ def connect(self, dbapi_con, con_record):
"""Called once for each new DB-API connection or Pool's ``creator()``.
dbapi_con
@@ -54,7 +54,7 @@ class PoolListener(object):
"""
- def checkout(dbapi_con, con_record, con_proxy):
+ def checkout(self, dbapi_con, con_record, con_proxy):
"""Called when a connection is retrieved from the Pool.
dbapi_con
@@ -73,7 +73,7 @@ class PoolListener(object):
using the new connection.
"""
- def checkin(dbapi_con, con_record):
+ def checkin(self, dbapi_con, con_record):
"""Called when a connection returns to the pool.
Note that the connection may be closed, and may be None if the