Skip to content

Commit 56c9b3d

Browse files
committed
Fix type error
1 parent 275ab61 commit 56c9b3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/reactpy_django/tasks.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import logging
44
from datetime import datetime, timedelta
5-
from typing import TYPE_CHECKING, Literal, TypeAlias
5+
from typing import TYPE_CHECKING, Literal
66

77
from django.contrib.auth import get_user_model
88
from django.utils import timezone
@@ -13,7 +13,7 @@
1313
from reactpy_django.models import Config
1414

1515
CLEAN_NEEDED_BY: datetime = datetime(year=1, month=1, day=1, tzinfo=timezone.now().tzinfo)
16-
CleaningArgs: TypeAlias = Literal["all", "sessions", "auth_tokens", "user_data"]
16+
CleaningArgs = Literal["all", "sessions", "auth_tokens", "user_data"]
1717

1818

1919
def clean(*args: CleaningArgs, immediate: bool = False, verbosity: int = 1):

0 commit comments

Comments
 (0)