Explain use of deprecated decorator

This commit is contained in:
RumovZ 2021-03-29 12:04:14 +02:00
parent 7b316a7151
commit c0950eca30

View file

@ -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."""