mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 16:10:57 +00:00
Use Service instead of ServiceAPI
To fix error with async-service==0.1.0a5
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
from abc import ABC, abstractmethod
|
from abc import ABC, abstractmethod
|
||||||
from typing import TYPE_CHECKING, Dict, Sequence
|
from typing import TYPE_CHECKING, Dict, Sequence
|
||||||
|
|
||||||
from async_service import ServiceAPI
|
from async_service import Service
|
||||||
from multiaddr import Multiaddr
|
from multiaddr import Multiaddr
|
||||||
|
|
||||||
from libp2p.network.connection.net_connection_interface import INetConn
|
from libp2p.network.connection.net_connection_interface import INetConn
|
||||||
@ -73,5 +73,5 @@ class INetwork(ABC):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class INetworkService(INetwork, ServiceAPI):
|
class INetworkService(INetwork, Service):
|
||||||
...
|
...
|
||||||
|
|||||||
Reference in New Issue
Block a user