From 2a557c7e2576258cf1b43a2477d1cbea4cd99c85 Mon Sep 17 00:00:00 2001 From: adeelehsan Date: Thu, 9 Apr 2026 00:31:39 +0500 Subject: [PATCH] Suppress mypy errors in Fern auto-generated files - httpx_sse: missing type stubs (Fern imports it without stubs) - agent_events.types: stream_response type conflict where subclass declares Optional[bool] but base class has Literal[True/False] Both are Fern generator bugs to be fixed upstream. Co-Authored-By: Claude Opus 4.6 (1M context) --- mypy.ini | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mypy.ini b/mypy.ini index e769e7a..be2af8a 100644 --- a/mypy.ini +++ b/mypy.ini @@ -1,6 +1,12 @@ [mypy] plugins = pydantic.mypy +[mypy-httpx_sse.*] +ignore_missing_imports = True + +[mypy-vectara.agent_events.types.*] +ignore_errors = True + [mypy-publication.*] ignore_missing_imports = True -ignore_errors = True \ No newline at end of file +ignore_errors = True