CORS Fixed + black and ruff fixes
This commit is contained in:
parent
5e2f6078a1
commit
3844ffc207
30 changed files with 85 additions and 114 deletions
|
|
@ -1,7 +1,6 @@
|
|||
"""DailyChallenge-related data models."""
|
||||
|
||||
from dataclasses import dataclass, field
|
||||
from typing import Optional
|
||||
|
||||
|
||||
@dataclass
|
||||
|
|
@ -13,7 +12,7 @@ class DailyChallenge:
|
|||
date: str = ""
|
||||
time_limit: int = 0
|
||||
completed: bool = False
|
||||
score: Optional[int] = None
|
||||
score: int | None = None
|
||||
raw_data: dict = field(default_factory=dict)
|
||||
|
||||
@classmethod
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue