Completed
Push — master ( ff247a...b96a39 )
by Tomaz
23s
created

AggregateCheckAction   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 3
Duplicated Lines 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
c 1
b 1
f 0
dl 0
loc 3
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 2 1
1
from lib.sensu import SensuAction
2
3
__all__ = [
4
    'AggregateCheckAction'
5
]
6
7
8
class AggregateCheckAction(SensuAction):
9
    def run(self, check, age):
10
        return self.api.get_aggregate_check(check, age)
11