X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=o2ims%2Fdomain%2Falarm_repo.py;h=1ef92a443e28bea1a54c1bd5a136625f21b724fe;hb=8031def0fd93d7485c1d9c633d0004a5f8c0a927;hp=41205dbc47b6c7fb6552cfb9005c159b4378326e;hpb=748a90298e8abff7f1ff2fdec6a36c2775fe7161;p=pti%2Fo2.git diff --git a/o2ims/domain/alarm_repo.py b/o2ims/domain/alarm_repo.py index 41205db..1ef92a4 100644 --- a/o2ims/domain/alarm_repo.py +++ b/o2ims/domain/alarm_repo.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Wind River Systems, Inc. +# Copyright (C) 2022-2024 Wind River Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -31,8 +31,8 @@ class AlarmEventRecordRepository(abc.ABC): self.seen.add(alarm_event_record) return alarm_event_record - def list(self, **kwargs) -> List[obj.AlarmEventRecord]: - return self._list(*[], **kwargs)[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]]: @@ -163,8 +163,8 @@ class AlarmSubscriptionRepository(abc.ABC): self.seen.add(subscription) return subscription - def list(self, **kwargs) -> List[obj.AlarmSubscription]: - return self._list(*[], **kwargs)[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]]: