Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions directv/directv.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from typing import Any, Mapping, Optional

import aiohttp
import async_timeout
from yarl import URL

from .__version__ import __version__
Expand Down Expand Up @@ -74,7 +73,7 @@ async def _request(
self._close_session = True

try:
with async_timeout.timeout(self.request_timeout):
async with asyncio.timeout(self.request_timeout):
response = await self._session.request(
method, url, auth=auth, data=data, params=params, headers=headers,
)
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,13 @@ def read(*parts):
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
],
description="Asynchronous Python client for DirecTV (SHEF).",
include_package_data=True,
install_requires=list(val.strip() for val in open("requirements.txt")),
python_requires=">=3.11",
keywords=["directv", "api", "async", "client", "shef"],
license="MIT license",
long_description_content_type="text/markdown",
Expand Down