mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
lint network
This commit is contained in:
@ -2,10 +2,6 @@ from abc import ABC, abstractmethod
|
||||
|
||||
class INetwork(ABC):
|
||||
|
||||
def __init__(self, my_peer_id, peer_store):
|
||||
self.my_peer_id = my_peer_id
|
||||
self.peer_store = peer_store
|
||||
|
||||
@abstractmethod
|
||||
def set_stream_handler(self, stream_handler):
|
||||
"""
|
||||
@ -29,4 +25,4 @@ class INetwork(ABC):
|
||||
:param *args: one or many multiaddrs to start listening on
|
||||
:return: True if at least one success
|
||||
"""
|
||||
pass
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user