Skip to content

Commit 81a22dd

Browse files
author
Val Brodsky
committed
Add more user-friendly labeling dashboard data for print
1 parent 92271f0 commit 81a22dd

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

libs/labelbox/src/labelbox/schema/labeling_service_dashboard.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,3 +191,11 @@ def convert_boost_data(cls, data):
191191
data['created_by_id'] = data.pop('boostRequestedBy')
192192

193193
return data
194+
195+
def __repr__(self):
196+
row = self.dict()
197+
row.pop('client')
198+
row['tasks_completed'] = self.tasks_completed
199+
row['tasks_remaining'] = self.tasks_remaining
200+
row['service_type'] = self.service_type
201+
return row

0 commit comments

Comments
 (0)