"...git@developer.sourcefind.cn:2222/OpenDAS/vllm_cscc.git" did not exist on "2fa4623d9e673faddb05018ac3f3d65780bb083d"
Unverified Commit 7f6c5ee0 authored by Woosuk Kwon's avatar Woosuk Kwon Committed by GitHub
Browse files

[V1][Minor] Add __repr__ to ConstantList (#14907)


Signed-off-by: default avatarWoosuk Kwon <woosuk.kwon@berkeley.edu>
parent faa02757
...@@ -86,6 +86,9 @@ class ConstantList(Generic[T], Sequence): ...@@ -86,6 +86,9 @@ class ConstantList(Generic[T], Sequence):
def __len__(self): def __len__(self):
return len(self._x) return len(self._x)
def __repr__(self):
return f"ConstantList({self._x})"
class BackgroundProcHandle: class BackgroundProcHandle:
""" """
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment