Skip to content

Commit cfd7d5d

Browse files
Narek MkhitaryanNarek Mkhitaryan
authored andcommitted
fix in set_score
1 parent 15fdddb commit cfd7d5d

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.33dev3"
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)