Skip to content

Commit 1a5d1d1

Browse files
authored
fix largelist repr (#7735)
1 parent fa73ab4 commit 1a5d1d1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/datasets/features/features.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1239,10 +1239,7 @@ class LargeList:
12391239
_type: str = field(default="LargeList", init=False, repr=False)
12401240

12411241
def __repr__(self):
1242-
if self.length != -1:
1243-
return f"{type(self).__name__}({self.feature}, length={self.length})"
1244-
else:
1245-
return f"{type(self).__name__}({self.feature})"
1242+
return f"{type(self).__name__}({self.feature})"
12461243

12471244

12481245
FeatureType = Union[

0 commit comments

Comments
 (0)