Skip to content

Commit 1c1b1f5

Browse files
committed
refs #265, fix tornado ext syntax
1 parent 077bafd commit 1c1b1f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gino/ext/tornado.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ async def get(self, uid):
167167
# noinspection PyPackageRequirements
168168
from aiocontextvars import enable_inherit as _enable_inherit
169169
except ImportError:
170-
_enable_inherit = lambda: None # NOQA
170+
_enable_inherit = lambda _: None # NOQA
171171

172172
from ..api import Gino as _Gino, GinoExecutor as _Executor
173173
from ..engine import GinoConnection as _Connection, GinoEngine as _Engine

0 commit comments

Comments
 (0)