diff --git a/src/validation/models.py b/src/validation/models.py index 6ec2c92d..0ea0219b 100644 --- a/src/validation/models.py +++ b/src/validation/models.py @@ -163,7 +163,9 @@ class RawDataCurrentParamsBase(BaseModel): @validator("geometry_type", allow_reuse=True) def return_unique_value(cls, value): """return unique list""" - return list(set(value)) + if value: + return list(set(value)) + return value class RawDataCurrentParams(RawDataCurrentParamsBase):