Skip to content

Commit a402a3b

Browse files
committed
regenerate types
1 parent de44166 commit a402a3b

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

src/a2a/types.py

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,9 +1086,7 @@ class Artifact(BaseModel):
10861086

10871087

10881088
class GetTaskPushNotificationConfigResponse(
1089-
RootModel[
1090-
JSONRPCErrorResponse | GetTaskPushNotificationConfigSuccessResponse
1091-
]
1089+
RootModel[JSONRPCErrorResponse | GetTaskPushNotificationConfigSuccessResponse]
10921090
):
10931091
root: JSONRPCErrorResponse | GetTaskPushNotificationConfigSuccessResponse
10941092
"""
@@ -1239,9 +1237,7 @@ class SendStreamingMessageRequest(BaseModel):
12391237

12401238

12411239
class SetTaskPushNotificationConfigResponse(
1242-
RootModel[
1243-
JSONRPCErrorResponse | SetTaskPushNotificationConfigSuccessResponse
1244-
]
1240+
RootModel[JSONRPCErrorResponse | SetTaskPushNotificationConfigSuccessResponse]
12451241
):
12461242
root: JSONRPCErrorResponse | SetTaskPushNotificationConfigSuccessResponse
12471243
"""
@@ -1534,9 +1530,7 @@ class SendStreamingMessageSuccessResponse(BaseModel):
15341530
"""
15351531

15361532

1537-
class CancelTaskResponse(
1538-
RootModel[JSONRPCErrorResponse | CancelTaskSuccessResponse]
1539-
):
1533+
class CancelTaskResponse(RootModel[JSONRPCErrorResponse | CancelTaskSuccessResponse]):
15401534
root: JSONRPCErrorResponse | CancelTaskSuccessResponse
15411535
"""
15421536
JSON-RPC response for the 'tasks/cancel' method.
@@ -1575,9 +1569,7 @@ class JSONRPCResponse(
15751569
"""
15761570

15771571

1578-
class SendMessageResponse(
1579-
RootModel[JSONRPCErrorResponse | SendMessageSuccessResponse]
1580-
):
1572+
class SendMessageResponse(RootModel[JSONRPCErrorResponse | SendMessageSuccessResponse]):
15811573
root: JSONRPCErrorResponse | SendMessageSuccessResponse
15821574
"""
15831575
JSON-RPC response model for the 'message/send' method.

0 commit comments

Comments
 (0)