Skip to content

Commit

Permalink
mypy error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
anpolol committed Jan 8, 2024
1 parent 71000c9 commit ec9867f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stable_gnn/model_link_predict.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import random
from typing import List, Tuple
from typing import Any, List, Tuple

import torch
from sklearn.base import BaseEstimator
Expand Down Expand Up @@ -38,7 +38,7 @@ def __init__(

def train_test_edges(
self, dataset: Graph
) -> Tuple[List[List[int]], List[List[int]], List[List[int]], List[List[int]]]:
) -> Tuple[List[Any], List[int], List[Any], List[int]]:
"""
Split dataset to train and test and calculate negative samples
Expand Down

0 comments on commit ec9867f

Please sign in to comment.