Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Durant committed Mar 12, 2021
1 parent 97cfdd5 commit 3166bb0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fsspec/spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ def __call__(cls, *args, **kwargs):
extra_tokens = tuple(
getattr(cls, attr, None) for attr in cls._extra_tokenize_attributes
)
token = tokenize(cls, cls._pid, threading.get_ident(), *args, *extra_tokens, **kwargs)
token = tokenize(
cls, cls._pid, threading.get_ident(), *args, *extra_tokens, **kwargs
)
skip = kwargs.pop("skip_instance_cache", False)
if os.getpid() != cls._pid:
cls._cache.clear()
Expand Down

0 comments on commit 3166bb0

Please sign in to comment.