mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-05-26 18:41:41 -04:00
Fixed a typo in before_execute doc.
events.py edited online with Bitbucket
(cherry picked from commit e0ddf30bf6)
This commit is contained in:
committed by
Mike Bayer
parent
a14e5c42ca
commit
d00a4f7cab
@@ -602,7 +602,7 @@ class ConnectionEvents(event.Events):
|
||||
arguments should be returned as a three-tuple in this case::
|
||||
|
||||
@event.listens_for(Engine, "before_execute", retval=True)
|
||||
def before_execute(conn, conn, clauseelement, multiparams, params):
|
||||
def before_execute(conn, clauseelement, multiparams, params):
|
||||
# do something with clauseelement, multiparams, params
|
||||
return clauseelement, multiparams, params
|
||||
|
||||
|
||||
Reference in New Issue
Block a user