lints
This commit is contained in:
parent
e0384a1f78
commit
af4df2f639
|
@ -697,7 +697,7 @@ class StatsStore(StateDeltasStore):
|
||||||
txn: LoggingTransaction,
|
txn: LoggingTransaction,
|
||||||
) -> Tuple[List[JsonDict], int]:
|
) -> Tuple[List[JsonDict], int]:
|
||||||
filters = []
|
filters = []
|
||||||
args = []
|
args: list = []
|
||||||
|
|
||||||
if search_term:
|
if search_term:
|
||||||
filters.append("(lmr.user_id LIKE ? OR displayname LIKE ?)")
|
filters.append("(lmr.user_id LIKE ? OR displayname LIKE ?)")
|
||||||
|
|
|
@ -424,8 +424,8 @@ class UserDirectoryBackgroundUpdateStore(StateDeltasStore):
|
||||||
keyvalues={},
|
keyvalues={},
|
||||||
)
|
)
|
||||||
profiles = {
|
profiles = {
|
||||||
row['full_user_id']: _UserDirProfile(
|
row["full_user_id"]: _UserDirProfile(
|
||||||
row['full_user_id'],
|
row["full_user_id"],
|
||||||
row["displayname"],
|
row["displayname"],
|
||||||
row["avatar_url"],
|
row["avatar_url"],
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue