File tree Expand file tree Collapse file tree 2 files changed +11
-15
lines changed
Expand file tree Collapse file tree 2 files changed +11
-15
lines changed Original file line number Diff line number Diff line change 77
88from a2a .client import A2AClient , A2AGrpcClient
99from a2a .types import (
10- AgentCard ,
1110 AgentCapabilities ,
11+ AgentCard ,
1212 Message ,
13- Role ,
14- TextPart ,
13+ MessageSendParams ,
1514 Part ,
15+ Role ,
16+ SendMessageRequest ,
1617 Task ,
17- TaskStatus ,
18- TaskState ,
1918 TaskQueryParams ,
20- SendMessageRequest ,
21- MessageSendParams ,
22- GetTaskRequest ,
19+ TaskState ,
20+ TaskStatus ,
21+ TextPart ,
2322)
2423
2524
Original file line number Diff line number Diff line change 1- from collections .abc import AsyncGenerator
2- from unittest .mock import MagicMock
31import logging
42
5- from google .protobuf import json_format
3+ from unittest .mock import MagicMock
4+
65import pytest
6+
77from fastapi import FastAPI
8+ from google .protobuf import json_format
89from httpx import ASGITransport , AsyncClient
910
1011from a2a .grpc import a2a_pb2
1516 Message ,
1617 Part ,
1718 Role ,
18- SendMessageRequest ,
19- SendMessageResponse ,
20- SendMessageSuccessResponse ,
2119 Task ,
2220 TaskState ,
2321 TaskStatus ,
2422 TextPart ,
2523)
26- from a2a .utils import proto_utils
2724
2825
2926logger = logging .getLogger (__name__ )
You can’t perform that action at this time.
0 commit comments