Skip to content

Commit

Permalink
fix api touch_collection return value hint
Browse files Browse the repository at this point in the history
  • Loading branch information
brrttwrks authored and stchris committed Oct 15, 2024
1 parent fdb3a68 commit c1d5ba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alephclient/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c1d5ba9

Please sign in to comment.