diff options
author | Mathieu Velten <mathieuv@matrix.org> | 2022-11-22 14:44:09 +0100 |
---|---|---|
committer | Mathieu Velten <mathieuv@matrix.org> | 2022-11-22 18:09:13 +0100 |
commit | a0dfa69ffc2474fcd433597b23c74a98ec45840a (patch) | |
tree | 0aaf5532543e20b4118ddca0ede25aebccb688a7 /synapse/util/distributor.py | |
parent | Enable unused awaitable error in mypy (diff) | |
download | synapse-a0dfa69ffc2474fcd433597b23c74a98ec45840a.tar.xz |
Add type ignore unused-awaitable to run_as_background_process calls
Diffstat (limited to 'synapse/util/distributor.py')
-rw-r--r-- | synapse/util/distributor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/util/distributor.py b/synapse/util/distributor.py index b580bdd0de..d3fcfd59b6 100644 --- a/synapse/util/distributor.py +++ b/synapse/util/distributor.py @@ -84,7 +84,7 @@ class Distributor: if name not in self.signals: raise KeyError("%r does not have a signal named %s" % (self, name)) - run_as_background_process(name, self.signals[name].fire, *args, **kwargs) + run_as_background_process(name, self.signals[name].fire, *args, **kwargs) # type: ignore[unused-awaitable] P = ParamSpec("P") |