mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:06:07 -04:00
Add type hints to state handler. (#10482)
This commit is contained in:
parent
228decfce1
commit
b7186c6e8d
4 changed files with 29 additions and 19 deletions
|
@ -570,8 +570,8 @@ class StateGroupStorage:
|
|||
event_id: str,
|
||||
room_id: str,
|
||||
prev_group: Optional[int],
|
||||
delta_ids: Optional[dict],
|
||||
current_state_ids: dict,
|
||||
delta_ids: Optional[StateMap[str]],
|
||||
current_state_ids: StateMap[str],
|
||||
) -> int:
|
||||
"""Store a new set of state, returning a newly assigned state group.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue