mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 16:10:57 +00:00
Apply PR feedback: fix type hints
This commit is contained in:
@ -1,7 +1,8 @@
|
||||
import asyncio
|
||||
|
||||
from libp2p.stream_muxer.muxed_stream_interface import IMuxedStream
|
||||
|
||||
from .utils import get_flag
|
||||
from ..muxed_stream_interface import IMuxedStream
|
||||
|
||||
|
||||
class MplexStream(IMuxedStream):
|
||||
|
||||
@ -1,8 +1,12 @@
|
||||
from abc import ABC, abstractmethod
|
||||
|
||||
from libp2p.stream_muxer.mplex.mplex import Mplex
|
||||
|
||||
|
||||
class IMuxedStream(ABC):
|
||||
|
||||
mplex_conn: Mplex
|
||||
|
||||
@abstractmethod
|
||||
def read(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user