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