mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-07 19:25:00 -04:00
Add a return type to parse_string. (#10438)
And set the required attribute in a few places which will error if a parameter is not provided.
This commit is contained in:
parent
2d89c66b88
commit
5db118626b
13 changed files with 86 additions and 45 deletions
|
@ -647,7 +647,7 @@ class StatsStore(StateDeltasStore):
|
|||
limit: int,
|
||||
from_ts: Optional[int] = None,
|
||||
until_ts: Optional[int] = None,
|
||||
order_by: Optional[UserSortOrder] = UserSortOrder.USER_ID.value,
|
||||
order_by: Optional[str] = UserSortOrder.USER_ID.value,
|
||||
direction: Optional[str] = "f",
|
||||
search_term: Optional[str] = None,
|
||||
) -> Tuple[List[JsonDict], Dict[str, int]]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue