@@ -87,7 +87,7 @@ async def create_async(
8787 ResourceAlreadyExistError: 资源已存在 / Resource already exists
8888 HTTPError: HTTP 请求错误 / HTTP request error
8989 """
90- return await cls .__get_client (config ).create_async (input , config = config )
90+ return await cls .__get_client (config = config ).create_async (input , config = config )
9191
9292 @classmethod
9393 def create (
@@ -107,7 +107,7 @@ def create(
107107 ResourceAlreadyExistError: 资源已存在 / Resource already exists
108108 HTTPError: HTTP 请求错误 / HTTP request error
109109 """
110- return cls .__get_client (config ).create (input , config = config )
110+ return cls .__get_client (config = config ).create (input , config = config )
111111
112112 @classmethod
113113 async def delete_by_id_async (cls , id : str , config : Optional [Config ] = None ):
@@ -127,7 +127,7 @@ async def delete_by_id_async(cls, id: str, config: Optional[Config] = None):
127127 ResourceNotExistError: 资源不存在 / Resource does not exist
128128 HTTPError: HTTP 请求错误 / HTTP request error
129129 """
130- cli = cls .__get_client (config )
130+ cli = cls .__get_client (config = config )
131131
132132 # 删除所有的 endpoint / Delete all endpoints
133133 endpoints = await cli .list_endpoints_async (id , config = config )
@@ -163,7 +163,7 @@ def delete_by_id(cls, id: str, config: Optional[Config] = None):
163163 ResourceNotExistError: 资源不存在 / Resource does not exist
164164 HTTPError: HTTP 请求错误 / HTTP request error
165165 """
166- cli = cls .__get_client (config )
166+ cli = cls .__get_client (config = config )
167167
168168 # 删除所有的 endpoint / Delete all endpoints
169169 endpoints = cli .list_endpoints (id , config = config )
@@ -201,7 +201,7 @@ async def update_by_id_async(
201201 ResourceNotExistError: 资源不存在 / Resource does not exist
202202 HTTPError: HTTP 请求错误 / HTTP request error
203203 """
204- return await cls .__get_client (config ).update_async (
204+ return await cls .__get_client (config = config ).update_async (
205205 id , input , config = config
206206 )
207207
@@ -226,7 +226,7 @@ def update_by_id(
226226 ResourceNotExistError: 资源不存在 / Resource does not exist
227227 HTTPError: HTTP 请求错误 / HTTP request error
228228 """
229- return cls .__get_client (config ).update (id , input , config = config )
229+ return cls .__get_client (config = config ).update (id , input , config = config )
230230
231231 @classmethod
232232 async def get_by_id_async (cls , id : str , config : Optional [Config ] = None ):
@@ -243,7 +243,7 @@ async def get_by_id_async(cls, id: str, config: Optional[Config] = None):
243243 ResourceNotExistError: 资源不存在 / Resource does not exist
244244 HTTPError: HTTP 请求错误 / HTTP request error
245245 """
246- return await cls .__get_client (config ).get_async (id , config = config )
246+ return await cls .__get_client (config = config ).get_async (id , config = config )
247247
248248 @classmethod
249249 def get_by_id (cls , id : str , config : Optional [Config ] = None ):
@@ -260,13 +260,13 @@ def get_by_id(cls, id: str, config: Optional[Config] = None):
260260 ResourceNotExistError: 资源不存在 / Resource does not exist
261261 HTTPError: HTTP 请求错误 / HTTP request error
262262 """
263- return cls .__get_client (config ).get (id , config = config )
263+ return cls .__get_client (config = config ).get (id , config = config )
264264
265265 @classmethod
266266 async def _list_page_async (
267267 cls , page_input : PageableInput , config : Config | None = None , ** kwargs
268268 ):
269- return await cls .__get_client (config ).list_async (
269+ return await cls .__get_client (config = config ).list_async (
270270 input = AgentRuntimeListInput (
271271 ** kwargs ,
272272 ** page_input .model_dump (),
@@ -278,7 +278,7 @@ async def _list_page_async(
278278 def _list_page (
279279 cls , page_input : PageableInput , config : Config | None = None , ** kwargs
280280 ):
281- return cls .__get_client (config ).list (
281+ return cls .__get_client (config = config ).list (
282282 input = AgentRuntimeListInput (
283283 ** kwargs ,
284284 ** page_input .model_dump (),
@@ -336,7 +336,7 @@ async def list_async(cls, config: Optional[Config] = None):
336336 Raises:
337337 HTTPError: HTTP 请求错误 / HTTP request error
338338 """
339- cli = cls .__get_client (config )
339+ cli = cls .__get_client (config = config )
340340
341341 runtimes : List [AgentRuntime ] = []
342342 page = 1
@@ -380,7 +380,7 @@ def list(cls, config: Optional[Config] = None):
380380 Raises:
381381 HTTPError: HTTP 请求错误 / HTTP request error
382382 """
383- cli = cls .__get_client (config )
383+ cli = cls .__get_client (config = config )
384384
385385 runtimes : List [AgentRuntime ] = []
386386 page = 1
@@ -540,7 +540,7 @@ async def list_versions_by_id_async(
540540 agent_runtime_id : str ,
541541 config : Optional [Config ] = None ,
542542 ):
543- cli = cls .__get_client (config )
543+ cli = cls .__get_client (config = config )
544544
545545 versions : List [AgentRuntimeVersion ] = []
546546 page = 1
@@ -574,7 +574,7 @@ def list_versions_by_id(
574574 agent_runtime_id : str ,
575575 config : Optional [Config ] = None ,
576576 ):
577- cli = cls .__get_client (config )
577+ cli = cls .__get_client (config = config )
578578
579579 versions : List [AgentRuntimeVersion ] = []
580580 page = 1
0 commit comments