mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
Explain use of deprecated decorator
This commit is contained in:
parent
7b316a7151
commit
c0950eca30
1 changed files with 2 additions and 0 deletions
|
@ -546,6 +546,8 @@ class ItemState(ABC):
|
|||
|
||||
# Columns and sorting
|
||||
|
||||
# abstractproperty is deprecated but used due to mypy limitations
|
||||
# (https://github.com/python/mypy/issues/1362)
|
||||
@abstractproperty
|
||||
def columns(self) -> List[Tuple[str, str]]:
|
||||
"""Return all for the state available columns."""
|
||||
|
|
Loading…
Reference in a new issue