Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Convert simple_select_list_paginate_txn to return tuples. #16433

Merged
merged 5 commits into from
Oct 6, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix docstring.
  • Loading branch information
clokep committed Oct 5, 2023
commit b082d1a5f70664a500646ca62f06577547261529
2 changes: 1 addition & 1 deletion synapse/storage/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -2447,7 +2447,7 @@ def simple_select_list_paginate_txn(
order_direction: Whether the results should be ordered "ASC" or "DESC".

Returns:
The result as a list of dictionaries.
The result as a list of tuples.
"""
if order_direction not in ["ASC", "DESC"]:
raise ValueError("order_direction must be one of 'ASC' or 'DESC'.")
Expand Down