Skip to content

Commit 2757375

Browse files
authored
Merge pull request #777 from superannotateai/FRIDAY-3644
fix in set_score
2 parents 4823683 + 9dceb6e commit 2757375

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/superannotate/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import sys
44

55

6-
__version__ = "4.4.33dev5"
6+
__version__ = "4.4.33dev6"
77

88

99
os.environ.update({"sa_version": __version__})

src/superannotate/lib/core/entities/work_managament.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ def validate_weight(cls, v):
197197
raise AppException("Please provide a valid number greater than 0")
198198
return v
199199

200-
@root_validator(pre=True)
200+
@root_validator()
201201
def check_weight_and_value(cls, values):
202202
value = values.get("value")
203203
weight = values.get("weight")

0 commit comments

Comments
 (0)