Skip to content

Commit 7a8107c

Browse files
committed
avoiding changes to types.py
1 parent b134c36 commit 7a8107c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/a2a/types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -637,15 +637,15 @@ class JSONRPCRequest(A2ABaseModel):
637637
A unique identifier established by the client. It must be a String, a Number, or null.
638638
The server must reply with the same value in the response. This property is omitted for notifications.
639639
"""
640-
jsonrpc: Literal['2.0']
640+
jsonrpc: Literal['2.0'] = '2.0'
641641
"""
642642
The version of the JSON-RPC protocol. MUST be exactly "2.0".
643643
"""
644644
method: str
645645
"""
646646
A string containing the name of the method to be invoked.
647647
"""
648-
params: Any = None
648+
params: dict[str, Any] | None = None
649649
"""
650650
A structured value holding the parameter values to be used during the method invocation.
651651
"""

0 commit comments

Comments
 (0)