Commit 3d7309a
authored
refactor(server): eliminate Intermediary
# Description
This branch eliminates the secondary layer of handling
(`JSONRPCHandler`) by transferring dispatching duties immediately to
`DefaultRequestHandler`.
### Changes
- Completely dropped
`src/a2a/server/request_handlers/jsonrpc_handler.py`.
- Refactored `src/a2a/server/routes/jsonrpc_dispatcher.py` to target
dispatching precisely utilized mapping distinct transmissions natively.
Fixes #797 🦕JSONRPCHandler for direct RequestHandler dispatching (#896)1 parent 7a9aec7 commit 3d7309a
7 files changed
Lines changed: 202 additions & 2075 deletions
File tree
- src/a2a/server
- request_handlers
- routes
- tests
- integration
- server
- request_handlers
- routes
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
43 | | - | |
44 | 42 | | |
45 | 43 | | |
46 | 44 | | |
| |||
0 commit comments