mirror of
https://github.com/283375/arcaea-offline.git
synced 2025-11-14 08:12:13 +00:00
fix: typo caculate -> calculate
This commit is contained in:
@ -124,7 +124,7 @@ class Score:
|
||||
|
||||
|
||||
@dataclass
|
||||
class DbCaculatedRow:
|
||||
class DbCalculatedRow:
|
||||
song_id: str
|
||||
rating_class: int
|
||||
score: int
|
||||
@ -139,7 +139,7 @@ class DbCaculatedRow:
|
||||
|
||||
|
||||
@dataclass(kw_only=True)
|
||||
class Caculated:
|
||||
class Calculated:
|
||||
song_id: str
|
||||
rating_class: int
|
||||
score: int
|
||||
@ -153,5 +153,5 @@ class Caculated:
|
||||
potential: float
|
||||
|
||||
@classmethod
|
||||
def from_db_row(cls, row: DbCaculatedRow):
|
||||
def from_db_row(cls, row: DbCalculatedRow):
|
||||
return cls(**asdict(row))
|
||||
|
||||
Reference in New Issue
Block a user