We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c98fbd commit 83fcf08Copy full SHA for 83fcf08
src/huggingface_hub/hf_api.py
@@ -8266,7 +8266,7 @@ def delete_collection_item(
8266
Slug of the collection to update. Example: `"TheBloke/recent-models-64f9a55bb3115b4f513ec026"`.
8267
item_object_id (`str`):
8268
ID of the item in the collection. This is not the id of the item on the Hub (repo_id or paper id).
8269
- 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`.
8270
missing_ok (`bool`, *optional*):
8271
If `True`, do not raise an error if item doesn't exists.
8272
token (Union[bool, str, None], optional):
0 commit comments