File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 33import grpc
44import pytest
55
6- from google .protobuf import struct_pb2
7-
86from a2a .client import A2AGrpcClient
97from a2a .grpc import a2a_pb2 , a2a_pb2_grpc
108from a2a .types import (
@@ -107,7 +105,7 @@ def sample_artifact() -> Artifact:
107105 name = 'example.txt' ,
108106 description = 'An example artifact' ,
109107 parts = [Part (root = TextPart (text = 'Hi there' ))],
110- metadata = struct_pb2 . Struct () ,
108+ metadata = {} ,
111109 extensions = [],
112110 )
113111
@@ -120,7 +118,7 @@ def sample_task_status_update_event() -> TaskStatusUpdateEvent:
120118 contextId = 'ctx-1' ,
121119 status = TaskStatus (state = TaskState .working ),
122120 final = False ,
123- metadata = struct_pb2 . Struct () ,
121+ metadata = {} ,
124122 )
125123
126124
@@ -135,7 +133,7 @@ def sample_task_artifact_update_event(
135133 artifact = sample_artifact ,
136134 append = True ,
137135 last_chunk = True ,
138- metadata = struct_pb2 . Struct () ,
136+ metadata = {} ,
139137 )
140138
141139
You can’t perform that action at this time.
0 commit comments