Skip to content

Commit ebf90db

Browse files
committed
✨ [Catalog] Update service update type in CatalogRpcSideEffects to use ServiceUpdateV2
1 parent 3ffeb0f commit ebf90db

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

packages/pytest-simcore/src/pytest_simcore/helpers/catalog_rpc_server.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,9 @@
99
LatestServiceGet,
1010
ServiceGetV2,
1111
ServiceListFilters,
12+
ServiceUpdateV2,
1213
)
1314
from models_library.api_schemas_catalog.services_ports import ServicePortGet
14-
from models_library.api_schemas_webserver.catalog import (
15-
CatalogServiceUpdate,
16-
)
1715
from models_library.products import ProductName
1816
from models_library.rest_pagination import PageOffsetInt
1917
from models_library.rpc_pagination import PageLimitInt, PageRpc
@@ -99,8 +97,8 @@ async def update_service(
9997
user_id: UserID,
10098
service_key: ServiceKey,
10199
service_version: ServiceVersion,
102-
update: CatalogServiceUpdate,
103-
):
100+
update: ServiceUpdateV2,
101+
) -> ServiceGetV2:
104102
assert rpc_client
105103
assert product_name
106104
assert user_id

0 commit comments

Comments
 (0)