Skip to content

Commit 085d6cd

Browse files
committed
Fix transaction.execute args to kwargs
Fix transaction.execute args to kwargs, keep execute interface same like pool.excute.
1 parent 58bf9f3 commit 085d6cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tornado_mysql/pools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def _close(self):
169169
self._pool = self._conn = None
170170

171171
@coroutine
172-
def execute(self, query, args):
172+
def execute(self, query, args=None):
173173
"""
174174
:return: Future[Cursor]
175175
:rtype: Future

0 commit comments

Comments
 (0)