Skip to content

Commit 99d69af

Browse files
[Bugfix] Python 3.10 compatibility for Self (vllm-project#27918)
Signed-off-by: DarkLight1337 <[email protected]>
1 parent d811b44 commit 99d69af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vllm/config/structured_outputs.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
33

44
import hashlib
5-
from typing import Any, Literal, Self
5+
from typing import Any, Literal
66

77
from pydantic import model_validator
88
from pydantic.dataclasses import dataclass
9+
from typing_extensions import Self
910

1011
from vllm.config.utils import config
1112

0 commit comments

Comments
 (0)