huggingface_hub
huggingface_hub copied to clipboard
Update token type definition and arg description in `hf_file_system.py`
Refactor token argument in hf_file_system.py
for consistency across the hub.
- Standardize the type definition of the token parameter to
Union[bool, str, None] = None
- Unify docstring descriptions for the token parameter to enhance clarity and usage guidance
See #2251 and #2252 for related discussions.
Thought i just go on and open a PR for this.
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.