-
Notifications
You must be signed in to change notification settings - Fork 752
Improve whoami() error messages by specifying token source #2814
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
77318aa
Improve whoami() error messages by specifying token source
aniketqw af9ff69
Merge branch 'main' into whoami#2809
aniketqw 6e4bb23
handled the required review
aniketqw 762bf5b
Merge branch 'huggingface:main' into whoami#2809
aniketqw 3115e73
Update src/huggingface_hub/hf_api.py
Wauplin 18646be
Update src/huggingface_hub/hf_api.py
Wauplin 69e202c
Completed the cleaning
aniketqw c6acfab
Merge branch 'whoami#2809' of https://github.com/aniketqw/huggingface…
aniketqw 47de337
Update src/huggingface_hub/hf_api.py
aniketqw 3e9985c
Added import
aniketqw f0f81d1
Merge branch 'main' into whoami#2809
Wauplin 08df7e3
cleaned whitespaces and added import before decorator
aniketqw 592c30f
Merge branch 'whoami#2809' of https://github.com/aniketqw/huggingface…
aniketqw 8a1cf72
moved to import section
aniketqw 4622ca7
Merge branch 'main' into whoami#2809
aniketqw f20a669
Update hf_api.py
Wauplin 738f247
Update hf_api.py
Wauplin 4d1b8b0
Update hf_api.py
Wauplin 4c2a3e4
Update hf_api.py
Wauplin be4f163
Update hf_api.py
Wauplin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.