File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
src/simcore_service_webserver/projects Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ async def list_projects_marked_as_jobs(
7575 user_id = user_id ,
7676 offset = offset ,
7777 limit = limit ,
78- job_parent_resource_name_prefix = job_parent_resource_name_prefix ,
78+ filter_by_job_parent_resource_name_prefix = job_parent_resource_name_prefix ,
7979 )
8080
8181 job_projects = [
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ async def list_my_projects_marked_as_jobs(
5656 user_id : UserID ,
5757 offset : int = 0 ,
5858 limit : int = 10 ,
59- job_parent_resource_name_prefix : str | None = None ,
59+ filter_by_job_parent_resource_name_prefix : str | None = None ,
6060) -> tuple [int , list [ProjectJobDBGet ]]:
6161 """
6262 Lists paginated projects marked as jobs for the given user and product.
@@ -68,5 +68,5 @@ async def list_my_projects_marked_as_jobs(
6868 product_name = product_name ,
6969 offset = offset ,
7070 limit = limit ,
71- job_parent_resource_name_prefix = job_parent_resource_name_prefix ,
71+ job_parent_resource_name_prefix = filter_by_job_parent_resource_name_prefix ,
7272 )
Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ async def test_user_can_filter_marked_project(
158158 app = client .app ,
159159 product_name = osparc_product_name ,
160160 user_id = project_job_fixture .user_id ,
161- job_parent_resource_name_prefix = project_job_fixture .job_parent_resource_name ,
161+ filter_by_job_parent_resource_name_prefix = project_job_fixture .job_parent_resource_name ,
162162 )
163163 assert total_count == 1
164164 assert len (result ) == 1
@@ -174,7 +174,7 @@ async def test_user_can_filter_marked_project(
174174 app = client .app ,
175175 product_name = osparc_product_name ,
176176 user_id = project_job_fixture .user_id ,
177- job_parent_resource_name_prefix = "test/%" ,
177+ filter_by_job_parent_resource_name_prefix = "test/%" ,
178178 )
179179 assert total_count == 1
180180 assert len (result ) == 1
@@ -190,7 +190,7 @@ async def test_user_can_filter_marked_project(
190190 app = client .app ,
191191 product_name = osparc_product_name ,
192192 user_id = project_job_fixture .user_id ,
193- job_parent_resource_name_prefix = "other/%" ,
193+ filter_by_job_parent_resource_name_prefix = "other/%" ,
194194 )
195195 assert total_count == 0
196196 assert len (result ) == 0
You can’t perform that action at this time.
0 commit comments