Skip to content

Commit

Permalink
add missing slots to TokenBase
Browse files Browse the repository at this point in the history
  • Loading branch information
ariebovenberg authored and auvipy committed Feb 13, 2022
1 parent ccf9189 commit 6b1f5db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions oauthlib/oauth2/rfc6749/tokens.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.')
Expand Down

0 comments on commit 6b1f5db

Please sign in to comment.