Skip to content

Commit 2f4901c

Browse files
committed
@bisgaard-itis review: rename
1 parent b0a07e1 commit 2f4901c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/service-library/src/servicelib/rabbitmq/rpc_interfaces/webserver/projects.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ async def mark_project_as_job(
4343

4444
@log_decorator(_logger, level=logging.DEBUG)
4545
@validate_call(config={"arbitrary_types_allowed": True})
46-
async def list_my_projects_marked_as_jobs(
46+
async def list_projects_marked_as_jobs(
4747
rpc_client: RabbitMQRPCClient,
4848
*,
4949
product_name: ProductName,
@@ -56,7 +56,7 @@ async def list_my_projects_marked_as_jobs(
5656
) -> PageRpcProjectRpcGet:
5757
result = await rpc_client.request(
5858
WEBSERVER_RPC_NAMESPACE,
59-
TypeAdapter(RPCMethodName).validate_python("list_my_projects_marked_as_jobs"),
59+
TypeAdapter(RPCMethodName).validate_python("list_projects_marked_as_jobs"),
6060
product_name=product_name,
6161
user_id=user_id,
6262
offset=offset,

services/web/server/src/simcore_service_webserver/projects/_controller/projects_rpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ async def mark_project_as_job(
5454

5555
@router.expose(reraise_if_error_type=(ValidationError,))
5656
@validate_call(config={"arbitrary_types_allowed": True})
57-
async def list_my_projects_marked_as_jobs(
57+
async def list_projects_marked_as_jobs(
5858
app: web.Application,
5959
*,
6060
product_name: ProductName,

services/web/server/tests/unit/with_dbs/02/test_projects_rpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ async def test_rpc_client_list_my_projects_marked_as_jobs(
107107
)
108108

109109
# List projects marked as jobs
110-
page: PageRpcProjectRpcGet = await projects_rpc.list_my_projects_marked_as_jobs(
110+
page: PageRpcProjectRpcGet = await projects_rpc.list_projects_marked_as_jobs(
111111
rpc_client=rpc_client,
112112
product_name=product_name,
113113
user_id=user_id,

0 commit comments

Comments
 (0)