File tree Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Original file line number Diff line number Diff line change 11from sqlmodel import SQLModel , Field
2- import uuid as uuid_pkg
2+ from uuid import UUID , uuid4
33
44
55class OverlayBase (SQLModel ):
6- riotId : str
7- hdevApiKey : str
8- # hdevKey : str
9- # textColor : str
10- # primaryColor : str
11- # bgColor : str
12- # progressRankColor : str
13- # progressRankBgColor : str
14- # alphaBg : bool
15- # alphaGradBg : bool
16- # wlStat : bool
17- # progressRank : bool
18- # lastMatchPoints : bool
6+ riot_id : str
7+ hdev_api_key : str
8+ # hdev_key : str
9+ # text_color : str
10+ # primary_color : str
11+ # bg_color : str
12+ # progress_rank_color : str
13+ # progress_rank_bg_color : str
14+ # alpha_bg : bool
15+ # alpha_grad_bg : bool
16+ # wl_stat : bool
17+ # progress_rank : bool
18+ # last_match_points : bool
1919
2020
2121class Overlay (OverlayBase , table = True ):
22- uuid : uuid_pkg . UUID = Field (
23- default_factory = uuid_pkg . uuid4 ,
22+ uuid : UUID = Field (
23+ default_factory = uuid4 ,
2424 primary_key = True ,
2525 index = True ,
2626 nullable = False ,
2727 )
2828
2929
3030class OverlayCreate (OverlayBase ):
31- pass
31+ pass
You can’t perform that action at this time.
0 commit comments