Skip to content

Commit

Permalink
rejection reason docstring (#2764)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wauplin authored Jan 20, 2025
1 parent a868889 commit 8aa1623
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 @@ -8561,7 +8561,7 @@ def reject_access_request(
The type of the repo to reject access request for. Must be one of `model`, `dataset` or `space`.
Defaults to `model`.
rejection_reason (`str`, *optional*):
Optional rejection reason that will be sent to the user (max 200 characters).
Optional rejection reason that will be visible to the user (max 200 characters).
token (Union[bool, str, None], optional):
A valid user access token (string). Defaults to the locally saved
token, which is the recommended method for authentication (see
Expand Down

0 comments on commit 8aa1623

Please sign in to comment.