Skip to content

Commit 949e7a9

Browse files
change more typing not compatible with python3.8
1 parent 269f91c commit 949e7a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openeo/extra/stac_job_db.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def _create_collection(self, collection: Collection) -> dict:
287287
requests.status_codes.codes.accepted,
288288
]
289289

290-
def _check_response_status(response: requests.Response, expected_status_codes: list[int], raise_exc: bool = False):
290+
def _check_response_status(response: requests.Response, expected_status_codes: List[int], raise_exc: bool = False):
291291
if response.status_code not in expected_status_codes:
292292
message = (
293293
f"Expecting HTTP status to be any of {expected_status_codes} "

0 commit comments

Comments
 (0)