Commit 16f63dc
committed
refactor: add jsonrpc field to base Notification class
This aligns with the TypeScript SDK where notification types extend
JSONRPCNotification and include the jsonrpc field. All notification
types now automatically have jsonrpc='2.0' via the base class.
The session.py code no longer needs to explicitly add jsonrpc since
it's included in the notification's model_dump().
Github-Issue: #17291 parent 7080fcf commit 16f63dc
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
| 323 | + | |
323 | 324 | | |
324 | | - | |
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
| |||
142 | 143 | | |
143 | 144 | | |
144 | 145 | | |
145 | | - | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| |||
0 commit comments