Skip to content

Commit 1b1eacb

Browse files
committed
fix: please mypy
1 parent d05e232 commit 1b1eacb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/aleph/services/p2p/protocol.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import asyncio
22
import logging
33
from collections import deque
4+
from typing import Any
45

56
from aleph_p2p_client import AlephP2PServiceClient
67

@@ -18,7 +19,7 @@ async def incoming_channel(
1819
LOGGER.debug("incoming channel started...")
1920

2021
await p2p_client.subscribe(topic)
21-
seen_hashes = deque([], maxlen=200000)
22+
seen_hashes: deque[tuple[Any, Any, Any]] = deque([], maxlen=200000)
2223

2324
while True:
2425
try:

0 commit comments

Comments
 (0)