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 ded5d85 commit f72ab13Copy full SHA for f72ab13
src/huggingface_hub/hf_file_system.py
@@ -75,7 +75,8 @@ class _Cached(_cached_base):
75
This is a slightly modified version of `fsspec.spec._Cached` to improve it.
76
In particular in `_tokenize` the pid isn't taken into account for the
77
`fs_token` used to identify cache instances. The `fs_token` logic is also
78
- robust to defaults values and the order of the args.
+ robust to defaults values and the order of the args. Finally new instances
79
+ reuse the cache from instances in the main thread.
80
"""
81
82
def __init__(cls, *args, **kwargs):
0 commit comments