@@ -15,15 +15,13 @@ def __init__(self, client: TogetherClient) -> None:
1515 def list (
1616 self ,
1717 type : Optional [Literal ["dedicated" , "serverless" ]] = None ,
18- usage_type : Optional [Literal ["on-demand" , "reserved" ]] = None ,
1918 mine : Optional [bool ] = None ,
2019 ) -> List [ListEndpoint ]:
2120 """
22- List all endpoints, can be filtered by endpoint type, usage type, and ownership.
21+ List all endpoints, can be filtered by endpoint type and ownership.
2322
2423 Args:
2524 type (str, optional): Filter endpoints by endpoint type ("dedicated" or "serverless"). Defaults to None.
26- usage_type (str, optional): Filter by usage type ("on-demand" or "reserved"). Defaults to None.
2725 mine (bool, optional): If True, return only endpoints owned by the caller. If False, return endpoints not owned by the caller. Defaults to None.
2826
2927 Returns:
@@ -272,15 +270,13 @@ def __init__(self, client: TogetherClient) -> None:
272270 async def list (
273271 self ,
274272 type : Optional [Literal ["dedicated" , "serverless" ]] = None ,
275- usage_type : Optional [Literal ["on-demand" , "reserved" ]] = None ,
276273 mine : Optional [bool ] = None ,
277274 ) -> List [ListEndpoint ]:
278275 """
279- List all endpoints, can be filtered by type, usage type, and ownership.
276+ List all endpoints, can be filtered by type and ownership.
280277
281278 Args:
282279 type (str, optional): Filter endpoints by type ("dedicated" or "serverless"). Defaults to None.
283- usage_type (str, optional): Filter by usage type ("on-demand" or "reserved"). Defaults to None.
284280 mine (bool, optional): If True, return only endpoints owned by the caller. If False, return endpoints not owned by the caller. Defaults to None.
285281
286282 Returns:
0 commit comments