From 8c4b0037f54e889ad5fff55e2fbfe1b5d40bdf9f Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Wed, 19 May 2021 03:21:22 -0300 Subject: [PATCH] API: add --remove_duplicates to claim_search --- lbry/extras/daemon/daemon.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lbry/extras/daemon/daemon.py b/lbry/extras/daemon/daemon.py index de401ed33..d818f0979 100644 --- a/lbry/extras/daemon/daemon.py +++ b/lbry/extras/daemon/daemon.py @@ -2352,7 +2352,7 @@ class Daemon(metaclass=JSONRPCServerType): [--not_locations=...] [--order_by=...] [--no_totals] [--page=] [--page_size=] [--wallet_id=] [--include_purchase_receipt] [--include_is_my_output] - [--has_source | --has_no_source] + [--remove_duplicates] [--has_source | --has_no_source] [--new_sdk_server=] Options: @@ -2461,6 +2461,8 @@ class Daemon(metaclass=JSONRPCServerType): has purchased the claim --include_is_my_output : (bool) lookup and include a boolean indicating if claim being resolved is yours + --remove_duplicates : (bool) removes duplicated content from search by picking either the + original claim or the oldest matching repost --has_source : (bool) find claims containing a source field --has_no_source : (bool) find claims not containing a source field --new_sdk_server= : (str) URL of the new SDK server (EXPERIMENTAL)