Skip to content

Commit 3801091

Browse files
committed
Add all models to init all
1 parent 2c57707 commit 3801091

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

aiohasupervisor/models/__init__.py

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,21 @@
2323
StoreInfo,
2424
SupervisorRole,
2525
)
26+
from aiohasupervisor.models.os import (
27+
BootSlot,
28+
BootSlotName,
29+
DataDisk,
30+
DataDiskList,
31+
GreenInfo,
32+
GreenOptions,
33+
MigrateDataOptions,
34+
OSInfo,
35+
OSUpdate,
36+
RaucState,
37+
SetBootSlotOptions,
38+
YellowInfo,
39+
YellowOptions,
40+
)
2641
from aiohasupervisor.models.resolution import (
2742
Check,
2843
CheckOptions,
@@ -86,4 +101,17 @@
86101
"SuggestionType",
87102
"UnhealthyReason",
88103
"UnsupportedReason",
104+
"RaucState",
105+
"BootSlotName",
106+
"BootSlot",
107+
"OSInfo",
108+
"OSUpdate",
109+
"MigrateDataOptions",
110+
"DataDisk",
111+
"DataDiskList",
112+
"SetBootSlotOptions",
113+
"GreenInfo",
114+
"GreenOptions",
115+
"YellowInfo",
116+
"YellowOptions",
89117
]

tests/test_os.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from yarl import URL
55

66
from aiohasupervisor import SupervisorClient
7-
from aiohasupervisor.models.os import (
7+
from aiohasupervisor.models import (
88
BootSlotName,
99
GreenOptions,
1010
MigrateDataOptions,

0 commit comments

Comments
 (0)