Skip to content

Commit

Permalink
Update for mypy. Move Annotated to typing_extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
drikster80 committed Sep 6, 2024
1 parent 4b22aed commit 30e3e5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vllm/entrypoints/openai/api_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
from argparse import Namespace
from contextlib import asynccontextmanager
from http import HTTPStatus
from typing import AsyncIterator, Optional, Set, Annotated
from typing import AsyncIterator, Optional, Set

from fastapi import APIRouter, FastAPI, Request
from fastapi.exceptions import RequestValidationError
from fastapi.middleware.cors import CORSMiddleware
from fastapi.responses import JSONResponse, Response, StreamingResponse
from starlette.routing import Mount
from typing_extensions import assert_never
from typing_extensions import assert_never, Annotated

import vllm.envs as envs
from vllm.config import ModelConfig
Expand Down

0 comments on commit 30e3e5d

Please sign in to comment.