mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-08 07:14:57 -04:00
Use ParamSpec
in type hints for synapse.logging.context
(#12150)
Signed-off-by: Sean Quah <seanq@element.io>
This commit is contained in:
parent
0dc9c5653c
commit
5627182788
5 changed files with 37 additions and 25 deletions
|
@ -153,8 +153,9 @@ class InitialSyncHandler:
|
|||
|
||||
public_room_ids = await self.store.get_public_room_ids()
|
||||
|
||||
limit = pagin_config.limit
|
||||
if limit is None:
|
||||
if pagin_config.limit is not None:
|
||||
limit = pagin_config.limit
|
||||
else:
|
||||
limit = 10
|
||||
|
||||
serializer_options = SerializeEventConfig(as_client_event=as_client_event)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue