Skip to content

Commit c8326e6

Browse files
committed
use typing Tuple
1 parent 21e6870 commit c8326e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stac_validator/utilities.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import json
33
import os
44
import ssl
5-
from typing import Dict, Optional
5+
from typing import Dict, Optional, Tuple
66
from urllib.parse import urlparse
77
from urllib.request import Request, urlopen
88

@@ -57,7 +57,7 @@ def validate_stac_version_field(stac_content: Dict) -> tuple[bool, str, str]:
5757
return True, "", ""
5858

5959

60-
def validate_version_format(version: str) -> tuple[bool, str]:
60+
def validate_version_format(version: str) -> Tuple[bool, str]:
6161
"""Validate that a STAC version string has the correct format.
6262
6363
Args:

0 commit comments

Comments
 (0)