mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-20 15:05:14 -05:00
Bump black from 22.12.0 to 23.1.0 (#15103)
This commit is contained in:
parent
4ed08ff72e
commit
9bb2eac719
117 changed files with 108 additions and 218 deletions
|
|
@ -344,7 +344,6 @@ class PusherWorkerStore(SQLBaseStore):
|
|||
last_user = progress.get("last_user", "")
|
||||
|
||||
def _delete_pushers(txn: LoggingTransaction) -> int:
|
||||
|
||||
sql = """
|
||||
SELECT name FROM users
|
||||
WHERE deactivated = ? and name > ?
|
||||
|
|
@ -392,7 +391,6 @@ class PusherWorkerStore(SQLBaseStore):
|
|||
last_pusher = progress.get("last_pusher", 0)
|
||||
|
||||
def _delete_pushers(txn: LoggingTransaction) -> int:
|
||||
|
||||
sql = """
|
||||
SELECT p.id, access_token FROM pushers AS p
|
||||
LEFT JOIN access_tokens AS a ON (p.access_token = a.id)
|
||||
|
|
@ -449,7 +447,6 @@ class PusherWorkerStore(SQLBaseStore):
|
|||
last_pusher = progress.get("last_pusher", 0)
|
||||
|
||||
def _delete_pushers(txn: LoggingTransaction) -> int:
|
||||
|
||||
sql = """
|
||||
SELECT p.id, p.user_name, p.app_id, p.pushkey
|
||||
FROM pushers AS p
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue