Breaking: Drop support for Python 3.10 (#12234)

This commit is contained in:
Trenton H
2026-03-04 15:03:33 -08:00
committed by GitHub
parent a9cb89c633
commit 1e21bcd26e
17 changed files with 108 additions and 772 deletions

View File

@@ -5,11 +5,7 @@ from abc import abstractmethod
from collections.abc import Iterator
from dataclasses import dataclass
from types import TracebackType
try:
from typing import Self
except ImportError:
from typing_extensions import Self
from typing import Self
import dateparser

View File

@@ -9,7 +9,7 @@ if TYPE_CHECKING:
from channels_redis.pubsub import RedisPubSubChannelLayer
class ProgressStatusOptions(str, enum.Enum):
class ProgressStatusOptions(enum.StrEnum):
STARTED = "STARTED"
WORKING = "WORKING"
SUCCESS = "SUCCESS"