GetAlertQuery.run()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
from lib.actions import BaseAction
2
3
4
class GetAlertQuery(BaseAction):
5
    def run(self, **kwargs):
6
        response = self._api_get('/alerts', kwargs)
7
        return response
8