Skip to content

Commit

Permalink
complete warning in doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Wauplin committed Oct 21, 2022
1 parent 5988bc8 commit fe2eaaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/package_reference/utilities.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ huggingface_hub.utils._validators.HFValidationError: Cannot have -- or .. in rep
"a use_auth_token"

>>> my_cool_auth_method(token="a token", use_auth_token="a use_auth_token")
UserWarning: Both `token` and `use_auth_token` are passed (...)
UserWarning: Both `token` and `use_auth_token` are passed (...). `use_auth_token` value will be ignored.
"a token"
```

Expand Down

0 comments on commit fe2eaaa

Please sign in to comment.