[Bugfix][Config] Keep pydantic validation for fields with a TYPE_CHECKING Literal alias (#46220)
Signed-off-by: Ting Sun <suntcrick@gmail.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
parent
160c80a34c
commit
f1a6703edd
@@ -127,8 +127,8 @@ if TYPE_CHECKING:
|
||||
from vllm.v1.executor import Executor
|
||||
else:
|
||||
Executor = Any
|
||||
QuantizationMethods = Any
|
||||
LoadFormats = Any
|
||||
QuantizationMethods = str
|
||||
LoadFormats = str
|
||||
UsageContext = Any
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user