forked from LBRYCommunity/lbry-sdk
clarify docstring for stream_cost_estimate
This commit is contained in:
parent
a634c49e1c
commit
bbbdf5486e
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue