Skip to content

Commit 33a5ebd

Browse files
Wauplinabidlabs
andauthored
Update src/huggingface_hub/hf_api.py
Co-authored-by: Abubakar Abid <[email protected]>
1 parent 7938ecb commit 33a5ebd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/huggingface_hub/hf_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1743,7 +1743,7 @@ def whoami(self, token: Union[bool, str, None] = None, *, cache: bool = False) -
17431743
"""
17441744
Call HF API to know "whoami".
17451745
1746-
If passing `cache=True`, the result will be cached for subsequent calls. This is useful if you plan to call
1746+
If passing `cache=True`, the result will be cached for subsequent calls for the duration of the Python process. This is useful if you plan to call
17471747
`whoami` multiple times as this endpoint is heavily rate-limited for security reasons.
17481748
17491749
Args:

0 commit comments

Comments
 (0)