chore: bump minimum supported Python version to 3.11 (#10386)
This commit is contained in:
parent
0181f1c08c
commit
6c8e208ef3
81 changed files with 271 additions and 300 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import logging
|
||||
import uuid
|
||||
from enum import Enum
|
||||
from enum import StrEnum
|
||||
from typing import Optional
|
||||
from uuid import uuid4
|
||||
|
||||
|
|
@ -25,12 +25,12 @@ IMPORT_INFO_REDIS_EXPIRY = 180 # 3 minutes
|
|||
CURRENT_DSL_VERSION = "0.1.3"
|
||||
|
||||
|
||||
class ImportMode(str, Enum):
|
||||
class ImportMode(StrEnum):
|
||||
YAML_CONTENT = "yaml-content"
|
||||
YAML_URL = "yaml-url"
|
||||
|
||||
|
||||
class ImportStatus(str, Enum):
|
||||
class ImportStatus(StrEnum):
|
||||
COMPLETED = "completed"
|
||||
COMPLETED_WITH_WARNINGS = "completed-with-warnings"
|
||||
PENDING = "pending"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue