Skip to content

Commit

Permalink
Remove faulty typehints for py3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
dobraczka committed Feb 21, 2024
1 parent a728320 commit ebe3ad8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion sylloge/oaei_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class OAEI(CacheableEADataset[DataFrameType]):
_CLASS_LINKS_PATH: str = "class_links_parquet"
_PROPERTY_LINKS_PATH: str = "property_links_parquet"

_TASK_URLS: MappingProxyType[OAEI_TASK_NAME, URL_SHA512_HASH] = MappingProxyType(
_TASK_URLS = MappingProxyType(
{
"starwars-swg": URL_SHA512_HASH(
"https://cloud.scadsai.uni-leipzig.de/index.php/s/WzRxffgoq2qqn7q/download/starwars-swg.tar.gz",
Expand Down
4 changes: 1 addition & 3 deletions sylloge/open_ea_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ class OpenEA(ZipEADatasetWithPreSplitFolds):
"9f86fbee94e1e78a7ee056dd69df1ce3fc210ae07dc64955ad2bfda7450545ef"
)

_GRAPH_PAIR_TO_DS_NAMES: MappingProxyType[
GraphPair, Tuple[str, str]
] = MappingProxyType(
_GRAPH_PAIR_TO_DS_NAMES = MappingProxyType(
{
"D_W": ("DBpedia", "Wikidata"),
"D_Y": ("DBpedia", "YAGO"),
Expand Down

0 comments on commit ebe3ad8

Please sign in to comment.