| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Backport of #2560. `SSEError` is re-exported at the `httpx_sse` package top level and listed in `__all__` in every release >=0.4.0; the `_exceptions` submodule is private. Importing via the public path avoids breakage if httpx-sse reorganises its internals. No behaviour change (same class object). Github-Issue: #2543
There was a problem hiding this comment.
Clean backport of #2560 — v1.x has the same httpx-sse>=0.4 floor and SSEError is public from 0.4.0 onward, so this is safe here too.
Generated by Claude Code
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Backport of #2560.
src/mcp/client/sse.py imports SSEError from the private httpx_sse._exceptions submodule (introduced in #975). SSEError is part of httpx-sse's public API — re-exported at the package top level and listed in __all__ in every release ≥0.4.0 — so this switches to the public path.
No behaviour change (same class object). Verified against httpx-sse 0.4.0 (the >=0.4 floor) through 0.4.3.
Types of changes
Checklist
AI Disclaimer