diff --git a/src/xsdba/_adjustment.py b/src/xsdba/_adjustment.py index 3fae1ed..0626001 100644 --- a/src/xsdba/_adjustment.py +++ b/src/xsdba/_adjustment.py @@ -9,7 +9,7 @@ from __future__ import annotations from collections.abc import Sequence -from typing import Callable +from collections.abc import Callable import numpy as np import xarray as xr diff --git a/src/xsdba/base.py b/src/xsdba/base.py index 9f4e5de..b08fd39 100644 --- a/src/xsdba/base.py +++ b/src/xsdba/base.py @@ -9,7 +9,8 @@ import itertools from collections.abc import Sequence from inspect import _empty, signature -from typing import Any, Callable, NewType, TypeVar +from typing import Any, NewType, TypeVar +from collections.abc import Callable import cftime import dask.array as dsk diff --git a/src/xsdba/formatting.py b/src/xsdba/formatting.py index 325f37d..3407b2a 100644 --- a/src/xsdba/formatting.py +++ b/src/xsdba/formatting.py @@ -14,7 +14,8 @@ from collections.abc import Sequence from fnmatch import fnmatch from inspect import _empty, signature -from typing import Any, Callable +from typing import Any +from collections.abc import Callable import xarray as xr from boltons.funcutils import wraps diff --git a/src/xsdba/loess.py b/src/xsdba/loess.py index 05ef85f..057d400 100644 --- a/src/xsdba/loess.py +++ b/src/xsdba/loess.py @@ -5,7 +5,7 @@ from __future__ import annotations -from typing import Callable +from collections.abc import Callable from warnings import warn import numba diff --git a/src/xsdba/options.py b/src/xsdba/options.py index d69b914..c6f6a38 100644 --- a/src/xsdba/options.py +++ b/src/xsdba/options.py @@ -6,7 +6,7 @@ from __future__ import annotations from inspect import signature -from typing import Callable +from collections.abc import Callable from boltons.funcutils import wraps diff --git a/src/xsdba/utils.py b/src/xsdba/utils.py index 1cd9b85..05ce4ba 100644 --- a/src/xsdba/utils.py +++ b/src/xsdba/utils.py @@ -6,7 +6,7 @@ from __future__ import annotations import itertools -from typing import Callable +from collections.abc import Callable from warnings import warn import bottleneck as bn diff --git a/src/xsdba/xclim_submodules/generic.py b/src/xsdba/xclim_submodules/generic.py index de0c753..3ef0ac0 100644 --- a/src/xsdba/xclim_submodules/generic.py +++ b/src/xsdba/xclim_submodules/generic.py @@ -2,7 +2,7 @@ from __future__ import annotations -from typing import Callable +from collections.abc import Callable import xarray as xr