clarify docstring for stream_cost_estimate

This commit is contained in:
Kay Kurokawa 2017-04-18 12:50:07 -04:00
parent a634c49e1c
commit bbbdf5486e

View file

@ -1720,7 +1720,8 @@ class Daemon(AuthJSONRPCServer):
'size' (optional): (int) stream size, in bytes. if provided an sd blob 'size' (optional): (int) stream size, in bytes. if provided an sd blob
won't be downloaded. won't be downloaded.
Returns: Returns:
(float) Estimated cost in lbry credits (float) Estimated cost in lbry credits, returns None if uri is not
resolveable
""" """
cost = yield self.get_est_cost(uri, size) cost = yield self.get_est_cost(uri, size)
defer.returnValue(cost) defer.returnValue(cost)