1
0

Antilint after large rebase

This commit is contained in:
Olivier Wilkinson (reivilibre)
2021-12-29 11:39:28 +00:00
parent eb5c1e2075
commit 033487adc4
2 changed files with 17 additions and 3 deletions

View File

@@ -48,7 +48,17 @@ This is all tied together by the AppServiceScheduler which DIs the required
components.
"""
import logging
from typing import TYPE_CHECKING, Awaitable, Callable, Dict, Iterable, List, Optional, Set, Tuple
from typing import (
TYPE_CHECKING,
Awaitable,
Callable,
Dict,
Iterable,
List,
Optional,
Set,
Tuple,
)
from synapse.appservice import (
ApplicationService,
@@ -148,7 +158,9 @@ class _ServiceQueuer:
appservice at a given time.
"""
def __init__(self, txn_ctrl: "_TransactionController", clock: Clock, hs: "HomeServer"):
def __init__(
self, txn_ctrl: "_TransactionController", clock: Clock, hs: "HomeServer"
):
# dict of {service_id: [events]}
self.queued_events: Dict[str, List[EventBase]] = {}
# dict of {service_id: [event_json]}

View File

@@ -14,7 +14,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import abc
from typing import (TYPE_CHECKING, Collection,
from typing import (
TYPE_CHECKING,
Collection,
Dict,
Iterable,
List,