Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

Commit 4f2cadb

Browse files
committed
update for python 3.9
1 parent 84f7559 commit 4f2cadb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ocf_datapipes/utils/eso.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import logging
1717
import os
1818
from urllib.request import urlopen
19+
from typing import Union
1920

2021
import geopandas as gpd
2122
import pandas as pd
@@ -89,7 +90,7 @@ def get_gsp_shape_from_eso(
8990
load_local_file: bool = True,
9091
save_local_file: bool = False,
9192
return_filename: bool = True,
92-
) -> str | gpd.GeoDataFrame:
93+
) -> Union[str,gpd.GeoDataFrame]:
9394
"""
9495
Get the the gsp shape file from ESO (or a local file)
9596

0 commit comments

Comments
 (0)