diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-07-21 14:12:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-21 18:12:22 +0000 |
commit | 590cc4e888f072f7f0788da1f93d80c7bc86be4a (patch) | |
tree | 1ef9646d1e274c70c30625fad70df5521a3ebbb3 /synapse/storage/databases | |
parent | Fix the hierarchy of OpenID providers in the docs. (#10445) (diff) | |
download | synapse-590cc4e888f072f7f0788da1f93d80c7bc86be4a.tar.xz |
Add type hints to additional servlet functions (#10437)
Improves type hints for: * parse_{boolean,integer} * parse_{boolean,integer}_from_args * parse_json_{value,object}_from_request And fixes any incorrect calls that resulted from unknown types.
Diffstat (limited to 'synapse/storage/databases')
-rw-r--r-- | synapse/storage/databases/main/stats.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/databases/main/stats.py b/synapse/storage/databases/main/stats.py index 0f9aa54ca9..889e0d3625 100644 --- a/synapse/storage/databases/main/stats.py +++ b/synapse/storage/databases/main/stats.py @@ -650,7 +650,7 @@ class StatsStore(StateDeltasStore): order_by: Optional[str] = UserSortOrder.USER_ID.value, direction: Optional[str] = "f", search_term: Optional[str] = None, - ) -> Tuple[List[JsonDict], Dict[str, int]]: + ) -> Tuple[List[JsonDict], int]: """Function to retrieve a paginated list of users and their uploaded local media (size and number). This will return a json list of users and the total number of users matching the filter criteria. |