lbry-sdk/lbry/extras/daemon/client.py

7 lines
205 B
Python
Raw Normal View History

2019-06-21 02:55:47 +02:00
from lbry.conf import Config
from lbry.extras.cli import execute_command
2019-01-22 23:44:17 +01:00
2019-04-23 20:40:10 +02:00
def daemon_rpc(conf: Config, method: str, **kwargs):
return execute_command(conf, method, kwargs, callback=lambda data: data)