Skip to content

Commit 950f937

Browse files
committed
Run nox format
1 parent 1343fa1 commit 950f937

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

src/a2a/types.py

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

11151115

11161116
class GetTaskPushNotificationConfigResponse(
1117-
RootModel[JSONRPCErrorResponse | GetTaskPushNotificationConfigSuccessResponse]
1117+
RootModel[
1118+
JSONRPCErrorResponse | GetTaskPushNotificationConfigSuccessResponse
1119+
]
11181120
):
11191121
root: JSONRPCErrorResponse | GetTaskPushNotificationConfigSuccessResponse
11201122
"""
@@ -1225,7 +1227,9 @@ class SendStreamingMessageRequest(BaseModel):
12251227

12261228

12271229
class SetTaskPushNotificationConfigResponse(
1228-
RootModel[JSONRPCErrorResponse | SetTaskPushNotificationConfigSuccessResponse]
1230+
RootModel[
1231+
JSONRPCErrorResponse | SetTaskPushNotificationConfigSuccessResponse
1232+
]
12291233
):
12301234
root: JSONRPCErrorResponse | SetTaskPushNotificationConfigSuccessResponse
12311235
"""
@@ -1448,7 +1452,9 @@ class SendStreamingMessageSuccessResponse(BaseModel):
14481452
"""
14491453

14501454

1451-
class CancelTaskResponse(RootModel[JSONRPCErrorResponse | CancelTaskSuccessResponse]):
1455+
class CancelTaskResponse(
1456+
RootModel[JSONRPCErrorResponse | CancelTaskSuccessResponse]
1457+
):
14521458
root: JSONRPCErrorResponse | CancelTaskSuccessResponse
14531459
"""
14541460
JSON-RPC response for the 'tasks/cancel' method.
@@ -1487,7 +1493,9 @@ class JSONRPCResponse(
14871493
"""
14881494

14891495

1490-
class SendMessageResponse(RootModel[JSONRPCErrorResponse | SendMessageSuccessResponse]):
1496+
class SendMessageResponse(
1497+
RootModel[JSONRPCErrorResponse | SendMessageSuccessResponse]
1498+
):
14911499
root: JSONRPCErrorResponse | SendMessageSuccessResponse
14921500
"""
14931501
JSON-RPC response model for the 'message/send' method.

0 commit comments

Comments
 (0)