3535
3636
3737class CatalogService :
38- _rpc_client : RabbitMQRPCClient
38+ _client : RabbitMQRPCClient
3939
4040 # context
4141 _user_id : UserID
@@ -48,7 +48,7 @@ def __init__(
4848 user_id : UserID ,
4949 product_name : ProductName ,
5050 ):
51- self ._rpc_client = rpc_client
51+ self ._client = rpc_client
5252
5353 self ._user_id = user_id
5454 self ._product_name = product_name
@@ -62,7 +62,7 @@ async def list_latest_releases(
6262 ) -> tuple [list [LatestServiceGet ], PageMetaInfoLimitOffset ]:
6363
6464 page = await catalog_rpc .list_services_paginated (
65- self ._rpc_client ,
65+ self ._client ,
6666 product_name = self ._product_name ,
6767 user_id = self ._user_id ,
6868 offset = offset ,
@@ -86,7 +86,7 @@ async def list_release_history(
8686 ) -> tuple [list [ServiceRelease ], PageMetaInfoLimitOffset ]:
8787
8888 page = await catalog_rpc .list_my_service_history_paginated (
89- self ._rpc_client ,
89+ self ._client ,
9090 product_name = self ._product_name ,
9191 user_id = self ._user_id ,
9292 service_key = service_key ,
@@ -116,7 +116,7 @@ async def get(
116116 ) -> ServiceGetV2 :
117117
118118 return await catalog_rpc .get_service (
119- self ._rpc_client ,
119+ self ._client ,
120120 product_name = self ._product_name ,
121121 user_id = self ._user_id ,
122122 service_key = name ,
@@ -144,7 +144,7 @@ async def get_service_ports(
144144 InvalidInputError: invalid input parameters
145145 """
146146 return await catalog_rpc .get_service_ports (
147- self ._rpc_client ,
147+ self ._client ,
148148 product_name = self ._product_name ,
149149 user_id = self ._user_id ,
150150 service_key = name ,
0 commit comments