diff options
Diffstat (limited to 'synapse/logging')
-rw-r--r-- | synapse/logging/context.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/synapse/logging/context.py b/synapse/logging/context.py index b36f397574..4650b60962 100644 --- a/synapse/logging/context.py +++ b/synapse/logging/context.py @@ -776,11 +776,7 @@ def run_in_background( ) -> "defer.Deferred[R]": ... -def run_in_background( # type: ignore[misc] - # The `type: ignore[misc]` above suppresses - # "Overloaded function implementation does not accept all possible arguments of signature 1" - # "Overloaded function implementation does not accept all possible arguments of signature 2" - # which seems like a bug in mypy. +def run_in_background( f: Union[ Callable[P, R], Callable[P, Awaitable[R]], |