From 6a1dfe38a2bbd07d6dc4cea4e00f191c237b9105 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Thu, 12 Feb 2026 21:33:32 -0800 Subject: [PATCH] Typing --- .mypy-baseline.txt | 1 - src/documents/views.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.mypy-baseline.txt b/.mypy-baseline.txt index dcbcdbfc1..b995020ed 100644 --- a/.mypy-baseline.txt +++ b/.mypy-baseline.txt @@ -97,7 +97,6 @@ src/documents/conditionals.py:0: error: Function is missing a type annotation fo src/documents/conditionals.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] src/documents/conditionals.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] src/documents/conditionals.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] -src/documents/conditionals.py:0: error: Function is missing a type annotation for one or more arguments [no-untyped-def] src/documents/consumer.py:0: error: "ConsumerPluginMixin" has no attribute "input_doc" [attr-defined] src/documents/consumer.py:0: error: "ConsumerPluginMixin" has no attribute "metadata" [attr-defined] src/documents/consumer.py:0: error: "ConsumerPluginMixin" has no attribute "metadata" [attr-defined] diff --git a/src/documents/views.py b/src/documents/views.py index 58529b920..2274ea5b4 100644 --- a/src/documents/views.py +++ b/src/documents/views.py @@ -1806,7 +1806,7 @@ class ChatStreamingView(GenericAPIView): ), ) class UnifiedSearchViewSet(DocumentViewSet): - def __init__(self, *args, **kwargs) -> None: + def __init__(self, *args: Any, **kwargs: Any) -> None: super().__init__(*args, **kwargs) self.searcher = None