File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change 1515 AgentCard ,
1616 Artifact ,
1717 DataPart ,
18- GetTaskPushNotificationConfigSuccessResponse ,
1918 InternalError ,
2019 InvalidRequestError ,
2120 JSONParseError ,
@@ -337,13 +336,6 @@ def test_get_push_notification_config(
337336 ),
338337 )
339338
340- # Wrap the response in GetTaskPushNotificationConfigSuccessResponse
341- mock_response = GetTaskPushNotificationConfigSuccessResponse (
342- id = '123' , # Match the request ID
343- jsonrpc = '2.0' ,
344- result = task_push_config ,
345- )
346-
347339 handler .on_get_task_push_notification_config .return_value = task_push_config
348340
349341 # Send request
@@ -394,11 +386,6 @@ async def stream_generator():
394386 'lastChunk' : last [i ],
395387 'kind' : 'artifact-update' ,
396388 }
397- event_data : dict [str , Any ] = {
398- 'jsonrpc' : '2.0' ,
399- 'id' : 123 ,
400- 'result' : task_artifact_update_event_data ,
401- }
402389
403390 yield TaskArtifactUpdateEvent .model_validate (
404391 task_artifact_update_event_data
You can’t perform that action at this time.
0 commit comments