| 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, uri, act_id): |
||
| 24 | """ |
||
| 25 | Object constructor. |
||
| 26 | |||
| 27 | :param str uri: The URI of the (trigger) node that must be triggered. |
||
| 28 | :param int act_id: The ID of the requested action. |
||
| 29 | """ |
||
| 30 | Message.__init__(self, NodeActionMessage.MESSAGE_TYPE) |
||
| 31 | |||
| 32 | self.uri = uri |
||
| 33 | """ |
||
| 34 | The URI of the (trigger) node that must be triggered. |
||
| 35 | |||
| 36 | :type: str |
||
| 37 | """ |
||
| 38 | |||
| 39 | self.act_id = act_id |
||
| 40 | """ |
||
| 41 | The ID of the requested action. |
||
| 42 | |||
| 43 | :type: int |
||
| 44 | """ |
||
| 45 | |||
| 59 |