mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-07-22 11:30:36 -04:00
Add type hints to user admin API. (#9521)
This commit is contained in:
parent
0c330423bc
commit
d790d0d314
4 changed files with 63 additions and 35 deletions
|
@ -139,7 +139,7 @@ class MediaRepositoryStore(MediaRepositoryBackgroundUpdateStore):
|
|||
start: int,
|
||||
limit: int,
|
||||
user_id: str,
|
||||
order_by: MediaSortOrder = MediaSortOrder.CREATED_TS.value,
|
||||
order_by: str = MediaSortOrder.CREATED_TS.value,
|
||||
direction: str = "f",
|
||||
) -> Tuple[List[Dict[str, Any]], int]:
|
||||
"""Get a paginated list of metadata for a local piece of media
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue