Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Fix stub return type of PushRuleEvaluator.run #14451

Merged
merged 5 commits into from
Nov 16, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/14451.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix an incorrect stub return type for `PushRuleEvaluator.run`.
2 changes: 1 addition & 1 deletion stubs/synapse/synapse_rust/push.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ class PushRuleEvaluator:
push_rules: FilteredPushRules,
user_id: Optional[str],
display_name: Optional[str],
) -> Collection[dict]: ...
) -> Collection[str]: ...