mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 13:56:02 -04:00
disallow-untyped-defs
for synapse.state
(#11004)
* `disallow-untyped-defs` for `synapse.state` Much smaller than I was expecting!
This commit is contained in:
parent
e564bdd127
commit
f563676c09
5 changed files with 8 additions and 4 deletions
|
@ -481,7 +481,7 @@ async def _reverse_topological_power_sort(
|
|||
if idx % _AWAIT_AFTER_ITERATIONS == 0:
|
||||
await clock.sleep(0)
|
||||
|
||||
def _get_power_order(event_id):
|
||||
def _get_power_order(event_id: str) -> Tuple[int, int, str]:
|
||||
ev = event_map[event_id]
|
||||
pl = event_to_pl[event_id]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue