File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 9
9
from collections .abc import Hashable
10
10
from typing import Any
11
11
12
- from xarray .backends .locks import acquire , NETCDF4_PYTHON_LOCK
12
+ from xarray .backends .locks import NETCDF4_PYTHON_LOCK , acquire
13
13
from xarray .backends .lru_cache import LRUCache
14
14
from xarray .core import utils
15
15
from xarray .core .options import OPTIONS
Original file line number Diff line number Diff line change @@ -282,4 +282,5 @@ def ensure_lock(lock):
282
282
return DummyLock ()
283
283
return lock
284
284
285
+
285
286
NETCDF4_PYTHON_LOCK = combine_locks ([NETCDFC_LOCK , HDF5_LOCK ])
Original file line number Diff line number Diff line change 23
23
)
24
24
from xarray .backends .file_manager import CachingFileManager , DummyFileManager
25
25
from xarray .backends .locks import (
26
- HDF5_LOCK ,
27
- NETCDFC_LOCK ,
28
26
NETCDF4_PYTHON_LOCK ,
27
+ NETCDFC_LOCK ,
29
28
combine_locks ,
30
29
ensure_lock ,
31
30
get_write_lock ,
You can’t perform that action at this time.
0 commit comments