Commit e4e0d48
committed
feat: Add backwards compatibility for StreamableHTTPTransport parameters
Keep constructor parameters (headers, timeout, sse_read_timeout, auth)
for backwards compatibility, but mark them as deprecated and ignore them.
The transport now reads all configuration from the httpx.AsyncClient
passed to request methods. These parameters are kept to avoid breaking
existing code that might instantiate the transport directly.1 parent 1579db4 commit e4e0d48
1 file changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
78 | 85 | | |
79 | 86 | | |
80 | 87 | | |
81 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
82 | 93 | | |
83 | 94 | | |
84 | 95 | | |
| |||
0 commit comments