| Conditions | 1 |
| Total Lines | 22 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | """ |
||
| 23 | def __init__(self, xml, filename): |
||
| 24 | """ |
||
| 25 | Object constructor. |
||
| 26 | |||
| 27 | :param str xml: The XML with the schedule definition. |
||
| 28 | :param str filename: The name of the file with the schedule definition. |
||
| 29 | """ |
||
| 30 | Message.__init__(self, ScheduleDefinitionMessage.MESSAGE_TYPE) |
||
| 31 | |||
| 32 | self.xml = xml |
||
| 33 | """ |
||
| 34 | The XML with the schedule definition. |
||
| 35 | |||
| 36 | :type: str |
||
| 37 | """ |
||
| 38 | |||
| 39 | self.filename = filename |
||
| 40 | """ |
||
| 41 | The name of the file with the schedule definition. |
||
| 42 | |||
| 43 | :type: str |
||
| 44 | """ |
||
| 45 | |||
| 58 |