From 83fcf08a78c7e2ff666c752b9537cadc5741de3c Mon Sep 17 00:00:00 2001 From: Daniel van Strien Date: Mon, 11 Nov 2024 19:36:51 -0400 Subject: [PATCH] update attribute used in delete_collection_item docstring (#2659) --- src/huggingface_hub/hf_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/huggingface_hub/hf_api.py b/src/huggingface_hub/hf_api.py index a02c6a0eba..963c8fdf88 100644 --- a/src/huggingface_hub/hf_api.py +++ b/src/huggingface_hub/hf_api.py @@ -8266,7 +8266,7 @@ def delete_collection_item( Slug of the collection to update. Example: `"TheBloke/recent-models-64f9a55bb3115b4f513ec026"`. item_object_id (`str`): ID of the item in the collection. This is not the id of the item on the Hub (repo_id or paper id). - It must be retrieved from a [`CollectionItem`] object. Example: `collection.items[0]._id`. + It must be retrieved from a [`CollectionItem`] object. Example: `collection.items[0].item_object_id`. missing_ok (`bool`, *optional*): If `True`, do not raise an error if item doesn't exists. token (Union[bool, str, None], optional):