Conditions | 1 |
Total Lines | 30 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | """ |
||
23 | def __init__(self, sch_id, rnd_id, xml): |
||
24 | """ |
||
25 | Object constructor. |
||
26 | |||
27 | :param int sch_id: The ID of the schedule. |
||
28 | :param int rnd_id: The ID of the run node. |
||
29 | :param int xml: The XML with the dynamic worker definition. |
||
30 | """ |
||
31 | Message.__init__(self, DynamicWorkerDefinitionMessage.MESSAGE_TYPE) |
||
32 | |||
33 | self.sch_id = sch_id |
||
34 | """ |
||
35 | The ID of the schedule. |
||
36 | |||
37 | :type: int |
||
38 | """ |
||
39 | |||
40 | self.rnd_id = rnd_id |
||
41 | """ |
||
42 | The ID of the run node. |
||
43 | |||
44 | :type: int |
||
45 | """ |
||
46 | |||
47 | self.xml = xml |
||
48 | """ |
||
49 | The XML with the dynamic worker definition. |
||
50 | |||
51 | :type: str |
||
52 | """ |
||
53 | |||
66 |