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