mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 02:12:01 +00:00
Fix deprecated "abstractproperty"
This commit is contained in:
parent
598e461892
commit
3b86e3e66e
|
@ -3,7 +3,7 @@ PairList Handler base class
|
|||
"""
|
||||
|
||||
import logging
|
||||
from abc import ABC, abstractmethod, abstractproperty
|
||||
from abc import ABC, abstractmethod
|
||||
from copy import deepcopy
|
||||
from typing import Any, Dict, List, Literal, Optional, TypedDict, Union
|
||||
|
||||
|
@ -87,7 +87,8 @@ class IPairList(LoggingMixin, ABC):
|
|||
"""
|
||||
return self.__class__.__name__
|
||||
|
||||
@abstractproperty
|
||||
@property
|
||||
@abstractmethod
|
||||
def needstickers(self) -> bool:
|
||||
"""
|
||||
Boolean property defining if tickers are necessary.
|
||||
|
|
Loading…
Reference in New Issue
Block a user