Skip to content

Commit 918b909

Browse files
committed
pylint: fix warnings
Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
1 parent a7e6d9c commit 918b909

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

api/pubsub_mongo.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ def _eventhistory_to_cloudevent(self, event: Dict) -> str:
311311
ce = CloudEvent(attributes=attributes, data=event.get('data', {}))
312312
return to_json(ce).decode('utf-8')
313313

314+
# pylint: disable=too-many-arguments
314315
async def _get_missed_events(self, channel: str, after_seq_id: int, *,
315316
owner_filter: Optional[str] = None,
316317
promiscuous: bool = False,
@@ -392,6 +393,7 @@ async def subscribe(self, channel: str, user: str,
392393

393394
return sub
394395

396+
# pylint: disable=too-many-arguments
395397
async def _setup_durable_subscription(
396398
self, sub_id: int, subscriber_id: str,
397399
*, channel: str, user: str, promiscuous: bool):

0 commit comments

Comments
 (0)