File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
services/catalog/src/simcore_service_catalog/repository Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -116,10 +116,10 @@ def _has_access_rights(
116116 )
117117
118118
119- def apply_services_filters (
120- stmt ,
119+ def _apply_services_filters (
120+ stmt : sa . sql . Select ,
121121 filters : ServiceFiltersDB ,
122- ):
122+ ) -> sa . sql . Select :
123123 if filters .service_type :
124124 prefix = SERVICE_TYPE_TO_PREFIX_MAP .get (filters .service_type )
125125 if prefix is None :
@@ -156,7 +156,7 @@ def latest_services_total_count_stmt(
156156 )
157157
158158 if filters :
159- stmt = apply_services_filters (stmt , filters )
159+ stmt = _apply_services_filters (stmt , filters )
160160
161161 return stmt
162162
@@ -200,7 +200,7 @@ def list_latest_services_stmt(
200200 )
201201
202202 if filters :
203- cte_stmt = apply_services_filters (cte_stmt , filters )
203+ cte_stmt = _apply_services_filters (cte_stmt , filters )
204204
205205 cte = cte_stmt .cte ("cte" )
206206
You can’t perform that action at this time.
0 commit comments