From c1d5ba92cc5e5e11bb87d93765d8293d170bd91c Mon Sep 17 00:00:00 2001 From: Eric Nicholas Barrett Date: Tue, 15 Oct 2024 22:02:49 +0400 Subject: [PATCH] fix api touch_collection return value hint --- alephclient/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alephclient/api.py b/alephclient/api.py index cd2742e..1029ec9 100644 --- a/alephclient/api.py +++ b/alephclient/api.py @@ -220,7 +220,7 @@ def flush_collection(self, collection_id: str, sync: bool = False): url = self._make_url(f"collections/{collection_id}", params=params) return self._request("DELETE", url) - def touch_collection(self, collection_id: str) -> None: + def touch_collection(self, collection_id: str): """Update the content update date of a collection by ID""" url = self._make_url(f"collections/{collection_id}/touch") return self._request("POST", url)