mirror of
https://github.com/Ladebeze66/llm_ticket3.git
synced 2026-02-04 13:50:21 +01:00
31 lines
868 B
Python
31 lines
868 B
Python
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
|
|
from __future__ import annotations
|
|
from .batchjobout import BatchJobOut, BatchJobOutTypedDict
|
|
from mistralai.types import BaseModel
|
|
from mistralai.utils import validate_const
|
|
import pydantic
|
|
from pydantic.functional_validators import AfterValidator
|
|
from typing import List, Literal, Optional
|
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
|
|
|
|
BatchJobsOutObject = Literal["list"]
|
|
|
|
|
|
class BatchJobsOutTypedDict(TypedDict):
|
|
total: int
|
|
data: NotRequired[List[BatchJobOutTypedDict]]
|
|
object: BatchJobsOutObject
|
|
|
|
|
|
class BatchJobsOut(BaseModel):
|
|
total: int
|
|
|
|
data: Optional[List[BatchJobOut]] = None
|
|
|
|
OBJECT: Annotated[
|
|
Annotated[Optional[BatchJobsOutObject], AfterValidator(validate_const("list"))],
|
|
pydantic.Field(alias="object"),
|
|
] = "list"
|