File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
services/web/server/src/simcore_service_webserver/projects Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 33from typing import Any , TypeAlias
44
55from aiopg .sa .result import RowProxy
6- from models_library .basic_types import HttpUrlWithCustomMinLength
76from models_library .folders import FolderID
87from models_library .projects import ClassifierID , ProjectID
98from models_library .projects_ui import StudyUI
1312 none_to_empty_str_pre_validator ,
1413)
1514from models_library .workspaces import WorkspaceID
16- from pydantic import ConfigDict , BaseModel , field_validator
15+ from pydantic import ConfigDict , BaseModel , HttpUrl , field_validator
1716from simcore_postgres_database .models .projects import ProjectType , projects
1817
1918ProjectDict : TypeAlias = dict [str , Any ]
@@ -40,7 +39,7 @@ class ProjectDB(BaseModel):
4039 uuid : ProjectID
4140 name : str
4241 description : str
43- thumbnail : HttpUrlWithCustomMinLength | None = None
42+ thumbnail : HttpUrl | None = None
4443 prj_owner : UserID
4544 creation_date : datetime
4645 last_change_date : datetime
You can’t perform that action at this time.
0 commit comments