Fix typing

This commit is contained in:
Serene-Arc
2021-03-08 12:34:52 +10:00
committed by Ali Parlakci
parent 7c2b7b0e83
commit 95876b3400

View File

@@ -17,7 +17,7 @@ logger = logging.getLogger(__name__)
class OAuth2Authenticator: class OAuth2Authenticator:
def __init__(self, wanted_scopes: list[str]): def __init__(self, wanted_scopes: set[str]):
self._check_scopes(wanted_scopes) self._check_scopes(wanted_scopes)
self.scopes = wanted_scopes self.scopes = wanted_scopes