lbry-sdk/lbry/extras/daemon/client.py
2022-09-07 12:03:11 -03:00

6 lines
205 B
Python

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