| Total Complexity | 1 | 
| Total Lines | 21 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | """ | ||
| 2 | API for finding similar compounds. | ||
| 3 | """ | ||
| 4 | from __future__ import annotations | ||
| 5 | |||
| 6 | import abc | ||
| 7 | from typing import FrozenSet | ||
| 8 | |||
| 9 | import decorateme | ||
|  | |||
| 10 | |||
| 11 | from mandos.model import Api | ||
| 12 | |||
| 13 | |||
| 14 | @decorateme.auto_repr_str() | ||
| 15 | class SimilarityApi(Api, metaclass=abc.ABCMeta): | ||
| 16 | def search(self, inchi: str, min_tc: float) -> FrozenSet[int]: | ||
| 17 | raise NotImplementedError() | ||
| 18 | |||
| 19 | |||
| 20 | __all__ = ["SimilarityApi"] | ||
| 21 |