Oleksiy Petrenko | 5013e68 | 2018-11-16 14:26:36 +0200 | [diff] [blame] | 1 | from aodhv2.common import send |
2 | |||||
3 | try: | ||||
4 | from urllib.parse import urlencode | ||||
5 | except ImportError: | ||||
6 | from urllib import urlencode | ||||
7 | |||||
8 | |||||
9 | @send('get') | ||||
10 | def alarm_list(**kwargs): | ||||
11 | url = '/alarms' | ||||
12 | return url, None |