Total Complexity | 1 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | """ |
||
16 | class LoadScheduleCommand(Command): |
||
17 | """ |
||
18 | Loads the schedule. |
||
19 | """ |
||
20 | |||
21 | name = 'load_schedule' |
||
22 | |||
23 | # ------------------------------------------------------------------------------------------------------------------ |
||
24 | def handle(self): |
||
25 | """ |
||
26 | Executes the load schedule command. |
||
27 | """ |
||
28 | self._io = EnarkshStyle(self.input, self.output) |
||
|
|||
29 | |||
30 | reader = LoadSchedule() |
||
31 | reader.main() |
||
32 | |||
34 |
It is generally a good practice to initialize all attributes to default values in the
__init__
method: