From 6ad3b550ddbb130e76691bd06c78e784bd096f09 Mon Sep 17 00:00:00 2001 From: Sam Bull Date: Mon, 13 Nov 2023 18:55:14 +0000 Subject: [PATCH] Update api.py --- aiohttp_security/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aiohttp_security/api.py b/aiohttp_security/api.py index f213b49..d984fb9 100644 --- a/aiohttp_security/api.py +++ b/aiohttp_security/api.py @@ -5,8 +5,8 @@ from aiohttp_security.abc import AbstractAuthorizationPolicy, AbstractIdentityPolicy -IDENTITY_KEY = web.AppKey('aiohttp_security_identity_policy', AbstractIdentityPolicy) -AUTZ_KEY = web.AppKey('aiohttp_security_autz_policy', AbstractAuthorizationPolicy) +IDENTITY_KEY = web.AppKey("aiohttp_security_identity_policy", AbstractIdentityPolicy) +AUTZ_KEY = web.AppKey("aiohttp_security_autz_policy", AbstractAuthorizationPolicy) # _AIP/_AAP are shorthand for Optional[policy] when we retrieve from request. _AAP = Optional[AbstractAuthorizationPolicy]