Skip to content

Commit a19087a

Browse files
committed
SE-1295: Update upsert_review_queue so quota_factor can accept 1.0 and 0.0
1 parent e88702e commit a19087a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labelbox/schema/project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ def upsert_review_queue(self, quota_factor):
681681
to reinitiate. Between 0 and 1.
682682
"""
683683

684-
if not 0. < quota_factor < 1.:
684+
if not 0. <= quota_factor <= 1.:
685685
raise ValueError("Quota factor must be in the range of [0,1]")
686686

687687
id_param = "projectId"

0 commit comments

Comments
 (0)