Skip to content

Commit

Permalink
all params required but may be None
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Sep 10, 2024
1 parent e2606fb commit 40c30e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spinn_utilities/ranged/multiple_values_exception.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class MultipleValuesException(Exception):
Raised when there more than one value found unexpectedly.
"""

def __init__(self, key=None, value1=None, value2=None):
def __init__(self, key, value1, value2):
if key is None:
msg = "Multiple values found"
else:
Expand Down

0 comments on commit 40c30e8

Please sign in to comment.