Skip to content

Commit 64b32c2

Browse files
pre-commit-ci[bot]50-Course
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 272e2b2 commit 64b32c2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rest_framework_simplejwt/tokens.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
if TYPE_CHECKING:
2323
from .backends import TokenBackend
2424

25-
T = TypeVar('T', bound='Token')
25+
T = TypeVar("T", bound="Token")
2626

2727
AuthUser = TypeVar("AuthUser", AbstractBaseUser, TokenUser)
2828

@@ -298,7 +298,7 @@ def for_user(cls: Type[T], user: AuthUser) -> T:
298298
return token
299299

300300

301-
class SlidingToken(BlacklistMixin['SlidingToken'], Token):
301+
class SlidingToken(BlacklistMixin["SlidingToken"], Token):
302302
token_type = "sliding"
303303
lifetime = api_settings.SLIDING_TOKEN_LIFETIME
304304

@@ -319,7 +319,7 @@ class AccessToken(Token):
319319
lifetime = api_settings.ACCESS_TOKEN_LIFETIME
320320

321321

322-
class RefreshToken(BlacklistMixin['RefreshToken'], Token):
322+
class RefreshToken(BlacklistMixin["RefreshToken"], Token):
323323
token_type = "refresh"
324324
lifetime = api_settings.REFRESH_TOKEN_LIFETIME
325325
no_copy_claims = (

0 commit comments

Comments
 (0)