We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 275ab61 commit 56c9b3dCopy full SHA for 56c9b3d
src/reactpy_django/tasks.py
@@ -2,7 +2,7 @@
2
3
import logging
4
from datetime import datetime, timedelta
5
-from typing import TYPE_CHECKING, Literal, TypeAlias
+from typing import TYPE_CHECKING, Literal
6
7
from django.contrib.auth import get_user_model
8
from django.utils import timezone
@@ -13,7 +13,7 @@
13
from reactpy_django.models import Config
14
15
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"]
+CleaningArgs = Literal["all", "sessions", "auth_tokens", "user_data"]
17
18
19
def clean(*args: CleaningArgs, immediate: bool = False, verbosity: int = 1):
0 commit comments