forked from LBRYCommunity/lbry-sdk
fix all comments with line breaks starting with --
This commit is contained in:
parent
60c333c6e2
commit
f775b0ed55
1 changed files with 12 additions and 13 deletions
|
@ -119,7 +119,6 @@ def pagination_kwargs(
|
|||
|
||||
@expander
|
||||
def tx_kwargs(
|
||||
wallet_id: str = None, # restrict operation to specific wallet
|
||||
change_account_id: str = None, # account to send excess change (LBC)
|
||||
fund_account_id: StrOrList = None, # accounts to fund the transaction
|
||||
preview=False, # do not broadcast the transaction
|
||||
|
@ -293,10 +292,10 @@ def signed_filter_kwargs(
|
|||
# see --channel_id if you need to filter by
|
||||
# multiple channels at the same time,
|
||||
# includes results with invalid signatures,
|
||||
# use in conjunction with --valid_channel_signature
|
||||
# use in conjunction with "--valid_channel_signature"
|
||||
channel_id: StrOrList = None, # signed by any of these channels including invalid signatures,
|
||||
# implies --has_channel_signature,
|
||||
# use in conjunction with --valid_channel_signature
|
||||
# use in conjunction with "--valid_channel_signature"
|
||||
not_channel_id: StrOrList = None, # exclude everything signed by any of these channels
|
||||
has_channel_signature=False, # results with a channel signature (valid or invalid)
|
||||
valid_channel_signature=False, # results with a valid channel signature or no signature,
|
||||
|
@ -352,17 +351,16 @@ def txo_filter_kwargs(
|
|||
is_not_spent=False, # only show not spent txos
|
||||
is_my_input_or_output=False, # txos which have your inputs or your outputs,
|
||||
# if using this flag the other related flags
|
||||
# are ignored (--is_my_output, --is_my_input, etc)
|
||||
# are ignored. ("--is_my_output", "--is_my_input", etc)
|
||||
is_my_output=False, # show outputs controlled by you
|
||||
is_not_my_output=False, # show outputs not controlled by you
|
||||
is_my_input=False, # show outputs created by you
|
||||
is_not_my_input=False, # show outputs not created by you
|
||||
exclude_internal_transfers=False, # excludes any outputs that are exactly this combination:
|
||||
# "--is_my_input --is_my_output --type=other"
|
||||
# "--is_my_input" + "--is_my_output" + "--type=other"
|
||||
# this allows to exclude "change" payments, this
|
||||
# flag can be used in combination with any of the other flags
|
||||
account_id: StrOrList = None, # id(s) of the account(s) to query
|
||||
wallet_id: str = None, # restrict results to specific wallet
|
||||
):
|
||||
pass
|
||||
|
||||
|
@ -2789,6 +2787,7 @@ class API:
|
|||
self,
|
||||
batch_size=500, # number of txos to spend per transactions
|
||||
include_full_tx=False, # include entire tx in output and not just the txid
|
||||
wallet_id: str = None, # restrict results to specific wallet
|
||||
**txo_filter_and_tx_kwargs
|
||||
) -> List[Transaction]:
|
||||
"""
|
||||
|
@ -2839,9 +2838,9 @@ class API:
|
|||
self,
|
||||
days_back=0, # number of days back from today
|
||||
# (not compatible with --start_day, --days_after, --end_day)
|
||||
start_day: str = None, # start on specific date (YYYY-MM-DD) (instead of --days_back)
|
||||
days_after: int = None, # end number of days after --start_day (instead of --end_day)
|
||||
end_day: str = None, # end on specific date (YYYY-MM-DD) (instead of --days_after)
|
||||
start_day: str = None, # start on specific date (format: YYYY-MM-DD) (instead of --days_back)
|
||||
days_after: int = None, # end number of days after --start_day (instead of using --end_day)
|
||||
end_day: str = None, # end on specific date (format: YYYY-MM-DD) (instead of --days_after)
|
||||
**txo_filter_and_pagination_kwargs
|
||||
) -> List:
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue