From f59478618583dfdd95b4aa4e85aa6de7c294e1d5 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Mon, 8 Jun 2026 08:09:43 +0000 Subject: [PATCH] docs: align to_date docstrings with API defaults Co-authored-by: william --- src/linkup/_client.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/linkup/_client.py b/src/linkup/_client.py index f42e55c..1538c02 100644 --- a/src/linkup/_client.py +++ b/src/linkup/_client.py @@ -236,8 +236,8 @@ def search( datetime.date, YYYY-MM-DD, or full ISO datetime string. If None, the search results will not be filtered by date. to_date: The date until which the search results should be considered. Accepts a - datetime.date, YYYY-MM-DD, or full ISO datetime string. If None, the search - results will not be filtered by date. + datetime.date, YYYY-MM-DD, or full ISO datetime string. If None, the Linkup API + applies its current default end date. exclude_domains: If you want to exclude specific domains from your search. include_domains: If you want the search to only return results from certain domains. max_results: The maximum number of results to return. @@ -433,8 +433,8 @@ async def async_search( datetime.date, YYYY-MM-DD, or full ISO datetime string. If None, the search results will not be filtered by date. to_date: The date until which the search results should be considered. Accepts a - datetime.date, YYYY-MM-DD, or full ISO datetime string. If None, the search - results will not be filtered by date. + datetime.date, YYYY-MM-DD, or full ISO datetime string. If None, the Linkup API + applies its current default end date. exclude_domains: If you want to exclude specific domains from your search. include_domains: If you want the search to only return results from certain domains. max_results: The maximum number of results to return. @@ -524,8 +524,8 @@ def research( datetime.date, YYYY-MM-DD, or full ISO datetime string. If None, sources will not be filtered by a start date. to_date: The date until which the research sources should be considered. Accepts a - datetime.date, YYYY-MM-DD, or full ISO datetime string. If None, sources will - not be filtered by an end date. + datetime.date, YYYY-MM-DD, or full ISO datetime string. If None, the Linkup API + applies its current default end date. exclude_domains: Domains to exclude from the research sources. include_domains: Domains to restrict the research sources to. timeout: The timeout for the HTTP request, in seconds. If None, the request will have @@ -597,8 +597,8 @@ async def async_research( datetime.date, YYYY-MM-DD, or full ISO datetime string. If None, sources will not be filtered by a start date. to_date: The date until which the research sources should be considered. Accepts a - datetime.date, YYYY-MM-DD, or full ISO datetime string. If None, sources will - not be filtered by an end date. + datetime.date, YYYY-MM-DD, or full ISO datetime string. If None, the Linkup API + applies its current default end date. exclude_domains: Domains to exclude from the research sources. include_domains: Domains to restrict the research sources to. timeout: The timeout for the HTTP request, in seconds. If None, the request will have