Skip to content

Commit

Permalink
Fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
Archmonger committed Dec 25, 2024
1 parent 275ab61 commit 56c9b3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/reactpy_django/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import logging
from datetime import datetime, timedelta
from typing import TYPE_CHECKING, Literal, TypeAlias
from typing import TYPE_CHECKING, Literal

from django.contrib.auth import get_user_model
from django.utils import timezone
Expand All @@ -13,7 +13,7 @@
from reactpy_django.models import Config

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


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

0 comments on commit 56c9b3d

Please sign in to comment.