using default mutable argument is wrong
we can use a tuple instead Change-Id: Ic807a8b740e022fc6d4556dd83d999a2395b9748
This commit is contained in:
parent
228b73047e
commit
43b0b79077
@ -58,8 +58,8 @@ class Alarm(object):
|
|||||||
start=None,
|
start=None,
|
||||||
end=None,
|
end=None,
|
||||||
limit=1000,
|
limit=1000,
|
||||||
sort_by=['start_timestamp', 'vitrage_id'],
|
sort_by=('start_timestamp', 'vitrage_id'),
|
||||||
sort_dirs=['asc', 'asc'],
|
sort_dirs=('asc', 'asc'),
|
||||||
filter_by=None,
|
filter_by=None,
|
||||||
filter_vals=None,
|
filter_vals=None,
|
||||||
next_page=True,
|
next_page=True,
|
||||||
|
Loading…
Reference in New Issue
Block a user