We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ef413a commit 8e84037Copy full SHA for 8e84037
src/huggingface_hub/snapshot_download.py
@@ -12,3 +12,4 @@
12
)
13
14
from ._snapshot_download import * # noqa
15
+from .constants import REPO_ID_SEPARATOR # noqa
tests/test_snapshot_download.py
@@ -358,3 +358,7 @@ def test_snapshot_download_import():
358
from huggingface_hub.snapshot_download import snapshot_download as x # noqa
359
360
assert x is snapshot_download
361
+
362
363
+def test_snapshot_download_import_constant_not_raise():
364
+ from huggingface_hub.snapshot_download import REPO_ID_SEPARATOR # noqa
0 commit comments