diff options
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2024-03-13 17:05:57 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-13 17:05:57 +0000 |
commit | e161103b46e9e85b95575ad12b34eb7ec570e0a4 (patch) | |
tree | 968de33935c76f2d2e0c560819684e7859a067f6 /synapse/logging/context.py | |
parent | Bump dawidd6/action-download-artifact from 3.1.1 to 3.1.2 (#16960) (diff) | |
download | synapse-e161103b46e9e85b95575ad12b34eb7ec570e0a4.tar.xz |
Bump mypy from 1.5.1 to 1.8.0 (#16901)
Diffstat (limited to 'synapse/logging/context.py')
-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]], |