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):
def __len__(self):
return len(self._x)
def __repr__(self):
return f"ConstantList({self._x})"
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