fix(api): remove unused ModelsListValidator

This commit is contained in:
psychedelicious 2023-11-14 08:01:44 +11:00
parent 7cdd7b6ad7
commit 7daee41ad2

View File

@ -8,7 +8,7 @@ from typing import List, Optional
from fastapi import Body, Path, Query, Response
from fastapi.routing import APIRouter
from pydantic import BaseModel, ConfigDict, TypeAdapter
from pydantic import BaseModel, ConfigDict
from starlette.exceptions import HTTPException
from typing_extensions import Annotated
@ -28,9 +28,6 @@ class ModelsList(BaseModel):
model_config = ConfigDict(use_enum_values=True)
ModelsListValidator = TypeAdapter(ModelsList)
@model_records_router.get(
"/",
operation_id="list_model_records",