mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-27 23:11:50 +08:00
[BugFix][Typing] Fix Imprecise Type Annotations (#15208)
Signed-off-by: Wang Ran (汪然) <wrran@outlook.com>
This commit is contained in:
parent
eb63ea1e18
commit
dd861b992f
@ -212,9 +212,9 @@ class BackgroundResources:
|
||||
"""Used as a finalizer for clean shutdown, avoiding
|
||||
circular reference back to the client object."""
|
||||
|
||||
ctx: Union[zmq.Context] = None
|
||||
output_socket: Union[zmq.Socket, zmq.asyncio.Socket] = None
|
||||
input_socket: Union[zmq.Socket, zmq.asyncio.Socket] = None
|
||||
ctx: zmq.Context
|
||||
output_socket: Optional[Union[zmq.Socket, zmq.asyncio.Socket]] = None
|
||||
input_socket: Optional[Union[zmq.Socket, zmq.asyncio.Socket]] = None
|
||||
proc_handle: Optional[BackgroundProcHandle] = None
|
||||
shutdown_path: Optional[str] = None
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user