Skip to content

Commit 341dc42

Browse files
committed
use direct import to fix circular ImportError
1 parent af7e2d5 commit 341dc42

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

verde/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,15 @@
2727
except ImportError:
2828
numba = None
2929

30+
from verde import KNeighbors
31+
3032
from .base.utils import (
3133
check_coordinates,
3234
check_data,
3335
check_data_names,
3436
check_extra_coords_names,
3537
n_1d_arrays,
3638
)
37-
from .neighbors import KNeighbors
3839

3940

4041
def dispatch(function, delayed=False, client=None):

0 commit comments

Comments
 (0)