Skip to content

Commit 718158a

Browse files
committed
Remove unnecessary argument.
1 parent ed773b0 commit 718158a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mavedb/view_models/experiment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def validate_keywords(cls, v):
7474
return v
7575

7676
@validator("title", "short_description", "abstract_text", "method_text")
77-
def validate_field_is_non_empty(cls, v, field):
77+
def validate_field_is_non_empty(cls, v):
7878
if is_null(v) or not isinstance(v, str):
7979
raise ValidationError("This field is required and cannot be empty.")
8080
return v.strip()

0 commit comments

Comments
 (0)