Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
wwwjfy authored and fantix committed Apr 18, 2020
1 parent 756606d commit 3e807dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gino_aiohttp.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,6 @@ async def first_or_404(self, *args, **kwargs):
raise HTTPNotFound(reason="No such data")
return rv

async def set_bind(self, bind, **kwargs):
async def set_bind(self, bind, loop=None, **kwargs):
kwargs.setdefault("strategy", "aiohttp")
return await super().set_bind(bind, **kwargs)
return await super().set_bind(bind, loop, **kwargs)

0 comments on commit 3e807dc

Please sign in to comment.