Skip to content

Commit

Permalink
switch to using typing's version of Tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewAnnex authored Oct 22, 2024
1 parent e6859ca commit a4b13f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rio_tiler/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ def cast_to_sequence(val: Optional[Any] = None) -> Sequence:
return val


def CRS_to_info(crs: CRS) -> Optional[tuple[str, str, str]]:
def CRS_to_info(crs: CRS) -> Optional[Tuple[str, str, str]]:
"""Convert CRS to URI.
Code adapted from https://github.com/developmentseed/morecantile/blob/1829fe12408e4a1feee7493308f3f02257ef4caf/morecantile/models.py#L148-L161
Expand Down

0 comments on commit a4b13f5

Please sign in to comment.