try change type to TypeAlias

This commit is contained in:
Swapna Lekkala 2025-09-08 14:10:59 -07:00
parent cd51dcd4f7
commit e0a8f04766
2 changed files with 4 additions and 3 deletions

View file

@ -11,7 +11,7 @@ import threading
from collections.abc import Callable, Coroutine, Iterable
from datetime import UTC, datetime
from enum import Enum
from typing import Any
from typing import Any, TypeAlias
from pydantic import BaseModel
@ -30,8 +30,8 @@ class JobStatus(Enum):
completed = "completed"
type JobID = str
type JobType = str
JobID: TypeAlias = str
JobType: TypeAlias = str
class JobArtifact(BaseModel):