mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-27 20:57:06 -04:00
Add final type hint to synapse.server. (#15035)
This commit is contained in:
parent
7081bb56e2
commit
733531ee3e
7 changed files with 11 additions and 12 deletions
|
@ -1076,7 +1076,7 @@ class RoomCreationHandler:
|
|||
state_map: MutableStateMap[str] = {}
|
||||
# current_state_group of last event created. Used for computing event context of
|
||||
# events to be batched
|
||||
current_state_group = None
|
||||
current_state_group: Optional[int] = None
|
||||
|
||||
def create_event_dict(etype: str, content: JsonDict, **kwargs: Any) -> JsonDict:
|
||||
e = {"type": etype, "content": content}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue