Skip to content

Commit d020f21

Browse files
committed
maint: move SomeCRS type alias to avoid FutureRef
- docs are failing due to `SomeCRS` type alias, this should maybe fix it?
1 parent d941016 commit d020f21

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

odc/geo/crs.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626

2727
from .types import XY, Unset
2828

29-
SomeCRS = Union[str, int, "CRS", _CRS, Dict[str, Any]]
30-
MaybeCRS = Union[SomeCRS, Unset, None]
3129
EPSG_UNSET = 0
3230

3331

@@ -395,6 +393,9 @@ class CRSMismatchError(ValueError):
395393
"""
396394

397395

396+
SomeCRS = Union[str, int, CRS, _CRS, Dict[str, Any]]
397+
MaybeCRS = Union[SomeCRS, Unset, None]
398+
398399
# fmt: off
399400
@overload
400401
def norm_crs(crs: SomeCRS) -> CRS: ...

0 commit comments

Comments
 (0)