diff --git a/lightly/openapi_generated/swagger_client/models/auto_task_crop.py b/lightly/openapi_generated/swagger_client/models/auto_task_crop.py index 10ba0b73c..90c564e2b 100644 --- a/lightly/openapi_generated/swagger_client/models/auto_task_crop.py +++ b/lightly/openapi_generated/swagger_client/models/auto_task_crop.py @@ -19,7 +19,7 @@ import json -from typing import List, Optional, Union +from typing import List, Union try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, confloat, conint, conlist @@ -32,7 +32,7 @@ class AutoTaskCrop(AutoTaskBase): """ Create a prediction which crops and focuses on a specific part of the image """ - bboxs: Optional[conlist(conlist(Union[confloat(le=1, ge=0, strict=True), conint(le=1, ge=0, strict=True)], max_items=4, min_items=4), min_items=1)] = Field(None, description="The bounding boxes to focus on.") + bboxs: conlist(conlist(Union[confloat(le=1, ge=0, strict=True), conint(le=1, ge=0, strict=True)], max_items=4, min_items=4), min_items=1) = Field(..., description="The bounding boxes to focus on.") __properties = ["type", "name", "bboxs"] class Config: diff --git a/lightly/openapi_generated/swagger_client/models/auto_task_crop_all_of.py b/lightly/openapi_generated/swagger_client/models/auto_task_crop_all_of.py index 3d79b8654..d645867bc 100644 --- a/lightly/openapi_generated/swagger_client/models/auto_task_crop_all_of.py +++ b/lightly/openapi_generated/swagger_client/models/auto_task_crop_all_of.py @@ -19,7 +19,7 @@ import json -from typing import List, Optional, Union +from typing import List, Union try: # Pydantic >=v1.10.17 from pydantic.v1 import BaseModel, Field, confloat, conint, conlist @@ -31,7 +31,7 @@ class AutoTaskCropAllOf(BaseModel): """ AutoTaskCropAllOf """ - bboxs: Optional[conlist(conlist(Union[confloat(le=1, ge=0, strict=True), conint(le=1, ge=0, strict=True)], max_items=4, min_items=4), min_items=1)] = Field(None, description="The bounding boxes to focus on.") + bboxs: conlist(conlist(Union[confloat(le=1, ge=0, strict=True), conint(le=1, ge=0, strict=True)], max_items=4, min_items=4), min_items=1) = Field(..., description="The bounding boxes to focus on.") __properties = ["bboxs"] class Config: