Skip to content

Commit

Permalink
Fixes for failing tests in PR
Browse files Browse the repository at this point in the history
  • Loading branch information
nileenagp committed Apr 25, 2024
1 parent d663a3d commit 07b46c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion aeon/classification/distance_based/_time_series_neighbors.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

from aeon.classification.base import BaseClassifier
from aeon.distances import get_distance_function
from typing import List

WEIGHTS_SUPPORTED = ["uniform", "distance"]

Expand Down Expand Up @@ -214,7 +215,7 @@ def _kneighbors(self, X):
return closest_idx, ws

@classmethod
def get_test_params(cls, parameter_set: str = "default") -> list[dict]:
def get_test_params(cls, parameter_set: str = "default") -> List[dict]:
"""Return testing parameter settings for the estimator.
Parameters
Expand Down

0 comments on commit 07b46c5

Please sign in to comment.