Don't force get_new_events to take keyword-only arguments

This commit is contained in:
Olivier Wilkinson (reivilibre) 2021-09-29 17:22:17 +01:00
parent d0c46f1716
commit e209c4728f
6 changed files with 0 additions and 6 deletions

View file

@ -174,7 +174,6 @@ class AccountDataEventSource(EventSource[int, JsonDict]):
async def get_new_events(
self,
user: UserID,
*,
from_key: int,
limit: Optional[int],
room_ids: Collection[str],

View file

@ -1520,7 +1520,6 @@ class PresenceEventSource(EventSource[int, UserPresenceState]):
async def get_new_events(
self,
user: UserID,
*,
from_key: Optional[int],
limit: Optional[int] = None,
room_ids: Optional[Collection[str]] = None,

View file

@ -219,7 +219,6 @@ class ReceiptEventSource(EventSource[int, JsonDict]):
async def get_new_events(
self,
user: UserID,
*,
from_key: int,
limit: Optional[int],
room_ids: Iterable[str],

View file

@ -1198,7 +1198,6 @@ class RoomEventSource(EventSource[RoomStreamToken, EventBase]):
async def get_new_events(
self,
user: UserID,
*,
from_key: RoomStreamToken,
limit: Optional[int],
room_ids: Collection[str],

View file

@ -488,7 +488,6 @@ class TypingNotificationEventSource(EventSource[int, JsonDict]):
async def get_new_events(
self,
user: UserID,
*,
from_key: int,
limit: Optional[int],
room_ids: Iterable[str],

View file

@ -26,7 +26,6 @@ class EventSource(Generic[K, R]):
async def get_new_events(
self,
user: UserID,
*,
from_key: K,
limit: Optional[int],
room_ids: Collection[str],