huggingface_hub
feat(spaces): hot-reload
#3776
Merged

feat(spaces): hot-reload #3776

cbensimon merged 73 commits into main from spaces-hot-reload
cbensimon
cbensimon feat(spaces): hot-reload command
63fb4398
cbensimon Advanced editor open
16fb0e25
cbensimon Skip spaces version check + add write auth check
1a8d3209
cbensimon Not used anymore
d109f633
cbensimon Use CLIError
656b547f
cbensimon Token already passed to HfApi
7ab9e5ab
cbensimon Begin summary command + misc (types, client, vendored sse_client, etc.)
739983be
cbensimon Backup
f4192715
cbensimon Revert "Backup"
e82f690a
cbensimon Only perform auth-check in editor mode
e6adbf71
cbensimon Doc
3d3d786c
cbensimon Hot-reloading summary
5f2b6c5c
cbensimon Fix code region line shift
33d3a508
cbensimon Much better -f optional arg
85eed547
cbensimon Display replica infos when needed
6e0230cb
cbensimon Improve doc
4e40be3b
cbensimon Properly display error message
0d25cd55
cbensimon Ruff
60ca44b0
cbensimon Exclude SSEClient from quality
da26438e
cbensimon Ruff
2ae8059b
cbensimon Fix comment
002b70de
cbensimon Generate docs
40629913
cbensimon Merge branch 'main' into spaces-hot-reload
d2c3fb95
cbensimon cbensimon marked this pull request as ready for review 15 days ago
cbensimon Fix docs typo
ded8dcd8
bot-ci-comment
cbensimon Mypy fixes
367bc81c
cbensimon Ruff: unused import
bb7a51d6
cbensimon cbensimon requested a review from Wauplin Wauplin 15 days ago
cbensimon cbensimon requested a review from hanouticelina hanouticelina 15 days ago
cbensimon Fix test_cli.py::TestUploadImpl::test_upload_file_mock test
a4230ff0
cbensimon Empty commit (CI)
6b9809c5
cbensimon Ok, this was probably too much
26a90216
cbensimon italic for traceback as well
28582dcf
cbensimon Remove empty file
5d8f7403
cbensimon pydantic -> dataclass
a8208b04
cbensimon Revert "pydantic -> dataclass"
f0721430
cbensimon Pydantic -> typeddict
a580c308
cbensimon Do not expose --hot-reload in CLI
706259cc
cbensimon Update doc
51afa03a
cbensimon ty ignore
6eae3b78
cbensimon Fix tests
035a3763
cbensimon Move types and client to _hot_reload directory
11838021
cbensimon hot_reload -> _hot_relaod (HfApi)
f669eb75
cbensimon Remove hf spaces hot-reloading CLI
d1e8fd96
cbensimon Merge branch 'main' into spaces-hot-reload
0fe73b6f
cbensimon Experimental warnings
d979afbc
cbensimon Generate docs
2024e428
cbensimon Fix CLIError hint
1dbd9ccf
hanouticelina
hanouticelina commented on 2026-02-17
cbensimon Update src/huggingface_hub/cli/spaces.py
2e7a578a
cbensimon Update src/huggingface_hub/cli/spaces.py
f2590359
cbensimon Apply @hanouticelina suggestion: hf_raise_for_status
f66724e4
cbensimon Update src/huggingface_hub/cli/spaces.py
830728f2
cbensimon Update src/huggingface_hub/cli/spaces.py
f35cd200
cbensimon Address @hanouticelina comment about defaultdict
53b9b07a
cbensimon Unused import
0b8f76f0
cbensimon Try .. finally for pbars
8138b0f9
cbensimon Merge branch 'main' into spaces-hot-reload
71427a4d
hanouticelina Merge branch 'main' into spaces-hot-reload
6cf0e35f
hanouticelina
hanouticelina commented on 2026-02-18
cbensimon Move editor_open outside of CLI utils
acc84ffb
cbensimon Document new write param in check_auth
fae64548
cbensimon Naming consistency
1a6af4e2
cbensimon Update src/huggingface_hub/cli/spaces.py
08c5c231
cbensimon Update docs
739d3baa
hanouticelina
hanouticelina commented on 2026-02-18
cbensimon Move replica events logic inside hot_reload client
5f0e5985
cbensimon filepath -> local_path
61942a85
cbensimon More elegant
a3cec541
cbensimon Apply @hanouticelina suggestion
112441cb
cbensimon Update src/huggingface_hub/utils/_sse_client.py
e4acb636
cbensimon Merge branch 'main' into spaces-hot-reload
f144fcd6
cbensimon Move PREFERRED_EDITORS outside of global constants
35789d6a
Wauplin
Wauplin approved these changes on 2026-02-19
cbensimon Update src/huggingface_hub/hf_api.py
43516365
cbensimon Update src/huggingface_hub/hf_api.py
4e5766e0
cbensimon Move utils/_sse_client to _hot_reload
b39f1cfa
cbensimon Add licence headers
6971f035
cbensimon Explicit error message for auth_check
4c45e096
cbensimon Fix endLine display
6b40e3bf
cbensimon cbensimon merged c837937b into main 6 days ago
cbensimon cbensimon deleted the spaces-hot-reload branch 6 days ago
lhoestq
cbensimon
lhoestq

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone