From aa17c0c38604e40aed15f26aa1b5793752e49748 Mon Sep 17 00:00:00 2001 From: Arie Bovenberg Date: Sat, 12 Feb 2022 21:11:23 +0100 Subject: [PATCH] add missing slots to TokenBase --- oauthlib/oauth2/rfc6749/tokens.py | 1 + 1 file changed, 1 insertion(+) diff --git a/oauthlib/oauth2/rfc6749/tokens.py b/oauthlib/oauth2/rfc6749/tokens.py index 6284248d..0757d07e 100644 --- a/oauthlib/oauth2/rfc6749/tokens.py +++ b/oauthlib/oauth2/rfc6749/tokens.py @@ -257,6 +257,7 @@ def get_token_from_header(request): class TokenBase: + __slots__ = () def __call__(self, request, refresh_token=False): raise NotImplementedError('Subclasses must implement this method.')