mirror of
https://github.com/vllm-project/vllm.git
synced 2025-10-20 14:53:52 +08:00
[V1][Minor] Add __repr__ to ConstantList (#14907)
Signed-off-by: Woosuk Kwon <woosuk.kwon@berkeley.edu>
This commit is contained in:
@ -86,6 +86,9 @@ class ConstantList(Generic[T], Sequence):
|
||||
def __len__(self):
|
||||
return len(self._x)
|
||||
|
||||
def __repr__(self):
|
||||
return f"ConstantList({self._x})"
|
||||
|
||||
|
||||
class BackgroundProcHandle:
|
||||
"""
|
||||
|
Reference in New Issue
Block a user