huggingface_hub
841c720a - [Docs] Fix docstring examples that fail when copy-pasted (#5238)

Commit
26 days ago
[Docs] Fix docstring examples that fail when copy-pasted (#5238) * [Docs] Fix docstring examples that fail when copy-pasted - Add missing commas in the comment_discussion, rename_discussion, update_collection_metadata, add_collection_item, update_collection_item and filter_repo_objects examples. - change_discussion_status: the example called rename_discussion. - run_job / create_scheduled_job: fix nested double quotes in the GPU command, and pass create_scheduled_job's keyword-only args by name. - tqdm: remove extra closing parentheses, use "..." for a with body. - get_logger: import `logging` from huggingface_hub and call the module-level set_verbosity_info. - guides/cli.md: quote the scheduled GPU job command like the `hf jobs run` one above it. * [Docs] Use REPL-safe logger name in example
Author
Parents
Loading