lbry-sdk/lbrynet/extras/daemon/client.py
Victor Shyba 7bdef3146b fix ttfb
2019-04-25 20:38:33 -04:00

6 lines
211 B
Python

from lbrynet.conf import Config
from lbrynet.extras.cli import execute_command
def daemon_rpc(conf: Config, method: str, **kwargs):
return execute_command(conf, method, kwargs, callback=lambda data: data)