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

7 lines
205 B
Python
Raw Permalink Normal View History

2019-06-21 02:55:47 +02:00
from lbry.extras.cli import execute_command
2022-07-16 05:43:45 +02:00
from lbry.conf import Config
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)