Skip to content

Commit 47d4f26

Browse files
authored
Expose RepoFile and RepoFolder at root level (#3564)
1 parent c20abf5 commit 47d4f26

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/huggingface_hub/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,8 @@
164164
"HfApi",
165165
"ModelInfo",
166166
"Organization",
167+
"RepoFile",
168+
"RepoFolder",
167169
"RepoUrl",
168170
"SpaceInfo",
169171
"User",
@@ -709,6 +711,8 @@
709711
"REPO_TYPE_MODEL",
710712
"REPO_TYPE_SPACE",
711713
"RepoCard",
714+
"RepoFile",
715+
"RepoFolder",
712716
"RepoUrl",
713717
"SentenceSimilarityInput",
714718
"SentenceSimilarityInputData",
@@ -1182,6 +1186,8 @@ def __dir__():
11821186
HfApi, # noqa: F401
11831187
ModelInfo, # noqa: F401
11841188
Organization, # noqa: F401
1189+
RepoFile, # noqa: F401
1190+
RepoFolder, # noqa: F401
11851191
RepoUrl, # noqa: F401
11861192
SpaceInfo, # noqa: F401
11871193
User, # noqa: F401

0 commit comments

Comments
 (0)