Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/github_actions/actions/checkout-2…
Browse files Browse the repository at this point in the history
….3.5
  • Loading branch information
ludeeus committed Nov 1, 2021
2 parents 0e9a402 + ac72f12 commit 7a86504
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions aiogithubapi/legacy/helpers.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Helpers for AIOGitHubAPI."""
from asyncio import CancelledError, TimeoutError, get_event_loop
from asyncio import CancelledError, TimeoutError
from typing import Optional

import aiohttp
Expand Down Expand Up @@ -46,7 +46,7 @@ async def async_call_api(
"""Execute the API call."""
response = AIOGitHubAPIResponse()

async with async_timeout.timeout(20, loop=get_event_loop()):
async with async_timeout.timeout(20):
if method == HttpMethod.GET:
result = await session.get(url, params=params or {}, headers=headers)
else:
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
black==21.9b0
pdoc3==0.10.0
aiohttp>=3.6.1,<4.0
async_timeout==3.0.1
aresponses==2.1.4
pytest==6.2.5
pytest-cov==2.12.1
Expand Down

0 comments on commit 7a86504

Please sign in to comment.