Skip to content

Commit fb4c4aa

Browse files
committed
Use AppKey
1 parent c023fd1 commit fb4c4aa

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

aiohttp_cors/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
)
3535

3636

37-
APP_CONFIG_KEY = "aiohttp_cors"
37+
APP_CONFIG_KEY: web.AppKey[CorsConfig] = web.AppKey("aiohttp_cors", CorsConfig)
3838

3939

4040
def setup(app: web.Application, *,

setup.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,18 +65,14 @@ def read_file(filename):
6565
],
6666
test_suite="tests",
6767
install_requires=[
68-
"aiohttp>=1.1",
69-
"typing;python_version<'3.5'",
68+
"aiohttp>=3.9",
7069
],
7170
license=about["__license__"],
7271
classifiers=[
7372
"License :: OSI Approved :: Apache Software License",
7473
"Intended Audience :: Developers",
7574
"Programming Language :: Python",
7675
"Programming Language :: Python :: 3",
77-
"Programming Language :: Python :: 3.4",
78-
"Programming Language :: Python :: 3.5",
79-
"Programming Language :: Python :: 3.6",
8076
"Topic :: Software Development :: Libraries",
8177
"Topic :: Internet :: WWW/HTTP",
8278
"Framework :: AsyncIO",

0 commit comments

Comments
 (0)