mirror of
https://github.com/matrix-org/synapse.git
synced 2025-12-24 10:41:32 +01:00
flake8
This commit is contained in:
parent
b8da5d0790
commit
ea14a142cc
@ -641,7 +641,8 @@ class SQLBaseStore(object):
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def _simple_select_list_txn(cls, txn, table, keyvalues, retcols, order=None, order_asc=True):
|
||||
def _simple_select_list_txn(cls, txn, table, keyvalues, retcols,
|
||||
order=None, order_asc=True):
|
||||
"""Executes a SELECT query on the named table, which may return zero or
|
||||
more rows, returning the result as a list of dicts.
|
||||
|
||||
|
||||
@ -57,7 +57,7 @@ class GroupServerStore(SQLBaseStore):
|
||||
retcols=("user_id", "is_public", "is_admin",),
|
||||
desc="get_users_in_group",
|
||||
order="is_admin",
|
||||
order_asc=False, # Order descending: admins first
|
||||
order_asc=False, # Order descending: admins first
|
||||
)
|
||||
|
||||
def get_invited_users_in_group(self, group_id):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user