Code Review
/
pti
/
o2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix python hash random seed issue
[pti/o2.git]
/
o2ims
/
domain
/
alarm_repo.py
diff --git
a/o2ims/domain/alarm_repo.py
b/o2ims/domain/alarm_repo.py
index
41205db
..
ca6929e
100644
(file)
--- a/
o2ims/domain/alarm_repo.py
+++ b/
o2ims/domain/alarm_repo.py
@@
-31,8
+31,8
@@
class AlarmEventRecordRepository(abc.ABC):
self.seen.add(alarm_event_record)
return alarm_event_record
self.seen.add(alarm_event_record)
return alarm_event_record
- def list(self, *
*kw
args) -> List[obj.AlarmEventRecord]:
- return self._list(*
[], **kw
args)[1]
+ def list(self, *args) -> List[obj.AlarmEventRecord]:
+ return self._list(*args)[1]
def list_with_count(self, *args, **kwargs) -> \
Tuple[int, List[obj.AlarmEventRecord]]:
def list_with_count(self, *args, **kwargs) -> \
Tuple[int, List[obj.AlarmEventRecord]]:
@@
-163,8
+163,8
@@
class AlarmSubscriptionRepository(abc.ABC):
self.seen.add(subscription)
return subscription
self.seen.add(subscription)
return subscription
- def list(self, *
*kw
args) -> List[obj.AlarmSubscription]:
- return self._list(*
[], **kw
args)[1]
+ def list(self, *args) -> List[obj.AlarmSubscription]:
+ return self._list(*args)[1]
def list_with_count(self, *args, **kwargs) -> \
Tuple[int, List[obj.AlarmSubscription]]:
def list_with_count(self, *args, **kwargs) -> \
Tuple[int, List[obj.AlarmSubscription]]: