From 6b1f5db98d464c31db807b7ab0e0fe43ebca46d0 Mon Sep 17 00:00:00 2001 From: Arie Bovenberg Date: Sat, 12 Feb 2022 21:11:23 +0100 Subject: 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 6284248..0757d07 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.') -- cgit v1.2.1