diff --git a/xarray/backends/api.py b/xarray/backends/api.py index 93819d35bb8..d7aa0bde0a5 100644 --- a/xarray/backends/api.py +++ b/xarray/backends/api.py @@ -2,7 +2,6 @@ import os from collections.abc import Hashable, Iterable, Mapping, MutableMapping, Sequence -from typing import Optional from functools import partial from io import BytesIO from numbers import Number @@ -12,6 +11,7 @@ Callable, Final, Literal, + Optional, Union, cast, overload,