mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
Fix on type hints
This commit is contained in:
@ -4,9 +4,13 @@ from typing import (
|
||||
Coroutine,
|
||||
)
|
||||
|
||||
from libp2p.stream_muxer.mplex.mplex import Mplex
|
||||
|
||||
|
||||
class INetStream(ABC):
|
||||
|
||||
mplex_conn: Mplex
|
||||
|
||||
@abstractmethod
|
||||
def get_protocol(self) -> str:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user