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 300eb9a commit 1f75833Copy full SHA for 1f75833
megfile/__init__.py
@@ -65,6 +65,7 @@
65
is_hdfs,
66
)
67
from megfile.hdfs_path import HdfsPath
68
+from megfile.hf_path import HFPath
69
from megfile.http import (
70
http_exists,
71
http_getmtime,
@@ -396,6 +397,7 @@
396
397
"hdfs_makedirs",
398
"S3Path",
399
"FSPath",
400
+ "HFPath",
401
"HttpPath",
402
"HttpsPath",
403
"StdioPath",
megfile/config.py
@@ -60,3 +60,6 @@
60
SFTP_MAX_RETRY_TIMES = int(
61
os.getenv("MEGFILE_SFTP_MAX_RETRY_TIMES") or DEFAULT_MAX_RETRY_TIMES
62
63
+HF_MAX_RETRY_TIMES = int(
64
+ os.getenv("MEGFILE_HF_MAX_RETRY_TIMES") or DEFAULT_MAX_RETRY_TIMES
+)
0 commit comments