Skip to content

Commit 89ff020

Browse files
committed
typo
1 parent 4bb2873 commit 89ff020

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/huggingface_hub/hf_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1788,7 +1788,7 @@ def list_models(
17881788
expand (`List[ExpandModelProperty_T]`, *optional*):
17891789
List properties to return in the response. When used, only the properties in the list will be returned.
17901790
This parameter cannot be used if `full`, `cardData` or `fetch_config` are passed.
1791-
Possible values are `"author"`, `"baseModels"`, `"cardData"`, `"childrenModelCount"`, `"config"`, `"createdAt"`, `"disabled"`, `"downloads"`, `"downloadsAllTime"`, `"gated"`, `"gguf"`, `"inference"`, `"lastModified"`, `"library_name"`, `"likes"`, `"mask_token"`, `"model-index"`, `"pipeline_tag"`, `"private"`, `"safetensors"`, `"sha"`, `"siblings"`, `"spaces"`, `"tags"`, `"transformersInfo"`, `"trendingScore"`, `"widgetData"`, `"usedStorage"`, `"resourceGroup"`.
1791+
Possible values are `"author"`, `"baseModels"`, `"cardData"`, `"childrenModelCount"`, `"config"`, `"createdAt"`, `"disabled"`, `"downloads"`, `"downloadsAllTime"`, `"gated"`, `"gguf"`, `"inference"`, `"lastModified"`, `"library_name"`, `"likes"`, `"mask_token"`, `"model-index"`, `"pipeline_tag"`, `"private"`, `"safetensors"`, `"sha"`, `"siblings"`, `"spaces"`, `"tags"`, `"transformersInfo"`, `"trendingScore"`, `"widgetData"`, `"usedStorage"` and `"resourceGroup"`.
17921792
full (`bool`, *optional*):
17931793
Whether to fetch all model data, including the `last_modified`,
17941794
the `sha`, the files and the `tags`. This is set to `True` by
@@ -2008,7 +2008,7 @@ def list_datasets(
20082008
expand (`List[ExpandDatasetProperty_T]`, *optional*):
20092009
List properties to return in the response. When used, only the properties in the list will be returned.
20102010
This parameter cannot be used if `full` is passed.
2011-
Possible values are `"author"`, `"cardData"`, `"citation"`, `"createdAt"`, `"disabled"`, `"description"`, `"downloads"`, `"downloadsAllTime"`, `"gated"`, `"lastModified"`, `"likes"`, `"paperswithcode_id"`, `"private"`, `"siblings"`, `"sha"`, `"tags"`, `"trendingScore"`, `"usedStorage"`, `"resourceGroup"`.
2011+
Possible values are `"author"`, `"cardData"`, `"citation"`, `"createdAt"`, `"disabled"`, `"description"`, `"downloads"`, `"downloadsAllTime"`, `"gated"`, `"lastModified"`, `"likes"`, `"paperswithcode_id"`, `"private"`, `"siblings"`, `"sha"`, `"tags"`, `"trendingScore"`, `"usedStorage"` and `"resourceGroup"`.
20122012
full (`bool`, *optional*):
20132013
Whether to fetch all dataset data, including the `last_modified`,
20142014
the `card_data` and the files. Can contain useful information such as the

0 commit comments

Comments
 (0)