forked from LBRYCommunity/lbry-sdk
do not reset callable_methods on Daemon class
This commit is contained in:
parent
b3903f4ffd
commit
f8928c654b
1 changed files with 2 additions and 3 deletions
|
@ -290,6 +290,8 @@ class Daemon(metaclass=JSONRPCServerType):
|
|||
"""
|
||||
LBRYnet daemon, a jsonrpc interface to lbry functions
|
||||
"""
|
||||
callable_methods: dict
|
||||
deprecated_methods: dict
|
||||
|
||||
def __init__(self, conf: Config, component_manager: typing.Optional[ComponentManager] = None):
|
||||
self.conf = conf
|
||||
|
@ -317,9 +319,6 @@ class Daemon(metaclass=JSONRPCServerType):
|
|||
streaming_app.router.add_get('/stream/{sd_hash}', self.handle_stream_range_request)
|
||||
self.streaming_runner = web.AppRunner(streaming_app)
|
||||
|
||||
self.callable_methods = {}
|
||||
self.deprecated_methods = {}
|
||||
|
||||
@property
|
||||
def dht_node(self) -> typing.Optional['Node']:
|
||||
return self.component_manager.get_component(DHT_COMPONENT)
|
||||
|
|
Loading…
Reference in a new issue