File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
services/web/server/src/simcore_service_webserver/projects Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ async def list_trashed_projects(
144144 until_equal_datetime : datetime .datetime | None = None ,
145145) -> list [ProjectID ]:
146146 """
147- Lists all projects that were trashed until a specific datetime.
147+ Lists all projects that were trashed until a specific datetime (if !=None) .
148148 """
149149 trashed_projects : list [ProjectID ] = []
150150
@@ -165,11 +165,12 @@ async def list_trashed_projects(
165165 search_by_project_name = None ,
166166 )
167167
168- # NOTE: post filtering because for the moment, i do not want ot modify the interface
169- # of _crud_api_read.list_projects_full_depth.
170- # This could not be done at the database level when `projects_repo` is refactored
171- # by defining a custom trash_filter that permits some flexibility in the filtering
172- # options
168+ # NOTE: Applying POST-FILTERING because we do not want to modify the interface of
169+ # _crud_api_read.list_projects_full_depth at this time.
170+ # This filtering couldn't be handled at the database level when `projects_repo`
171+ # was refactored, as defining a custom trash_filter was needed to allow more
172+ # flexibility in filtering options.
173+
173174 for project in projects :
174175 trashed_at , trashed_by , trashed_explicitly = _get_trashed_fields (project )
175176
You can’t perform that action at this time.
0 commit comments