diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2022-11-16 12:03:05 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-16 12:03:05 +0000 |
commit | f844b470f6f3a352e0e7cc81f9e5c58e35705e27 (patch) | |
tree | 1f0ccac021cfc246bd93ee4620a19bbee67cee99 /stubs/synapse/synapse_rust | |
parent | Fix HTML templates missing correct HTML tags (#14448) (diff) | |
download | synapse-f844b470f6f3a352e0e7cc81f9e5c58e35705e27.tar.xz |
Fix stub return type of `PushRuleEvaluator.run` (#14451)
Diffstat (limited to 'stubs/synapse/synapse_rust')
-rw-r--r-- | stubs/synapse/synapse_rust/push.pyi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stubs/synapse/synapse_rust/push.pyi b/stubs/synapse/synapse_rust/push.pyi index f3b6d6c933..ceade65ef9 100644 --- a/stubs/synapse/synapse_rust/push.pyi +++ b/stubs/synapse/synapse_rust/push.pyi @@ -1,4 +1,4 @@ -from typing import Any, Collection, Dict, Mapping, Optional, Sequence, Set, Tuple, Union +from typing import Any, Collection, Dict, Mapping, Optional, Sequence, Tuple, Union from synapse.types import JsonDict @@ -47,4 +47,4 @@ class PushRuleEvaluator: push_rules: FilteredPushRules, user_id: Optional[str], display_name: Optional[str], - ) -> Collection[dict]: ... + ) -> Collection[Union[Mapping, str]]: ... |