[fix] Crash due to conversions typing
This commit is contained in:
parent
2249458f59
commit
5093e200bd
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ from typing import ClassVar
|
|||
@dataclass
|
||||
class Converter:
|
||||
BASE: str = "sample"
|
||||
CONVERSIONS: ClassVar[dict[str, float]] = field(default_factory=dict)
|
||||
CONVERSIONS: ClassVar[dict[str, float]] = {}
|
||||
|
||||
@classmethod
|
||||
def get_rate(cls, from_: str, to: str) -> float:
|
||||
|
|
Loading…
Add table
Reference in a new issue