| Conditions | 1 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | from st2reactor.sensor.base import PollingSensor |
||
| 6 | def __init__(self, sensor_service, config, |
||
| 7 | poll_interval=5): |
||
| 8 | super(FibonacciSensor, self).__init__( |
||
| 9 | sensor_service=sensor_service, |
||
| 10 | config=config, |
||
| 11 | poll_interval=poll_interval |
||
| 12 | ) |
||
| 13 | self.a = None |
||
| 14 | self.b = None |
||
| 15 | self.count = None |
||
| 16 | |||
| 49 |