Skip to content

Commit b525d1c

Browse files
committed
Avoid deprecated abstractproperty
1 parent b820945 commit b525d1c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

graphdatascience/procedure_surface/api/similarity/knn_endpoints.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from __future__ import annotations
22

3-
from abc import ABC, abstractmethod, abstractproperty
3+
from abc import ABC, abstractmethod
44
from typing import Any
55

66
from pandas import DataFrame
@@ -16,7 +16,8 @@
1616

1717

1818
class KnnEndpoints(ABC):
19-
@abstractproperty
19+
@property
20+
@abstractmethod
2021
def filtered(self) -> KnnFilteredEndpoints:
2122
pass
2223

0 commit comments

Comments
 (0)