Skip to content

Commit

Permalink
update attribute used in delete_collection_item docstring (#2659)
Browse files Browse the repository at this point in the history
  • Loading branch information
davanstrien authored Nov 11, 2024
1 parent 0c98fbd commit 83fcf08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/huggingface_hub/hf_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 83fcf08

Please sign in to comment.