AggregateListAction.run()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
cc 1
c 1
b 1
f 0
dl 0
loc 2
rs 10
1
from lib.sensu import SensuAction
2
3
__all__ = [
4
    'AggregateListAction'
5
]
6
7
8
class AggregateListAction(SensuAction):
9
    def run(self):
10
        return self.api.get_aggregates()
11