@@ -105,9 +105,7 @@ def test_path_params_retrieve(self, client: Agentex) -> None:
105105 def test_method_update (self , client : Agentex ) -> None :
106106 state = client .states .update (
107107 state_id = "state_id" ,
108- agent_id = "agent_id" ,
109108 state = {"foo" : "bar" },
110- task_id = "task_id" ,
111109 )
112110 assert_matches_type (State , state , path = ["response" ])
113111
@@ -116,9 +114,7 @@ def test_method_update(self, client: Agentex) -> None:
116114 def test_raw_response_update (self , client : Agentex ) -> None :
117115 response = client .states .with_raw_response .update (
118116 state_id = "state_id" ,
119- agent_id = "agent_id" ,
120117 state = {"foo" : "bar" },
121- task_id = "task_id" ,
122118 )
123119
124120 assert response .is_closed is True
@@ -131,9 +127,7 @@ def test_raw_response_update(self, client: Agentex) -> None:
131127 def test_streaming_response_update (self , client : Agentex ) -> None :
132128 with client .states .with_streaming_response .update (
133129 state_id = "state_id" ,
134- agent_id = "agent_id" ,
135130 state = {"foo" : "bar" },
136- task_id = "task_id" ,
137131 ) as response :
138132 assert not response .is_closed
139133 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -149,9 +143,7 @@ def test_path_params_update(self, client: Agentex) -> None:
149143 with pytest .raises (ValueError , match = r"Expected a non-empty value for `state_id` but received ''" ):
150144 client .states .with_raw_response .update (
151145 state_id = "" ,
152- agent_id = "agent_id" ,
153146 state = {"foo" : "bar" },
154- task_id = "task_id" ,
155147 )
156148
157149 @pytest .mark .skip (reason = "Mock server tests are disabled" )
@@ -330,9 +322,7 @@ async def test_path_params_retrieve(self, async_client: AsyncAgentex) -> None:
330322 async def test_method_update (self , async_client : AsyncAgentex ) -> None :
331323 state = await async_client .states .update (
332324 state_id = "state_id" ,
333- agent_id = "agent_id" ,
334325 state = {"foo" : "bar" },
335- task_id = "task_id" ,
336326 )
337327 assert_matches_type (State , state , path = ["response" ])
338328
@@ -341,9 +331,7 @@ async def test_method_update(self, async_client: AsyncAgentex) -> None:
341331 async def test_raw_response_update (self , async_client : AsyncAgentex ) -> None :
342332 response = await async_client .states .with_raw_response .update (
343333 state_id = "state_id" ,
344- agent_id = "agent_id" ,
345334 state = {"foo" : "bar" },
346- task_id = "task_id" ,
347335 )
348336
349337 assert response .is_closed is True
@@ -356,9 +344,7 @@ async def test_raw_response_update(self, async_client: AsyncAgentex) -> None:
356344 async def test_streaming_response_update (self , async_client : AsyncAgentex ) -> None :
357345 async with async_client .states .with_streaming_response .update (
358346 state_id = "state_id" ,
359- agent_id = "agent_id" ,
360347 state = {"foo" : "bar" },
361- task_id = "task_id" ,
362348 ) as response :
363349 assert not response .is_closed
364350 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
@@ -374,9 +360,7 @@ async def test_path_params_update(self, async_client: AsyncAgentex) -> None:
374360 with pytest .raises (ValueError , match = r"Expected a non-empty value for `state_id` but received ''" ):
375361 await async_client .states .with_raw_response .update (
376362 state_id = "" ,
377- agent_id = "agent_id" ,
378363 state = {"foo" : "bar" },
379- task_id = "task_id" ,
380364 )
381365
382366 @pytest .mark .skip (reason = "Mock server tests are disabled" )
0 commit comments