Skip to content

Commit

Permalink
fix iterator
Browse files Browse the repository at this point in the history
  • Loading branch information
bleykauf committed May 24, 2023
1 parent 8fc7cf3 commit 4f1717f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linien-server/linien_server/parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ def __init__(self):
def __iter__(self):
for name, param in self.__dict__.items():
if isinstance(param, Parameter):
yield name, param.value
yield name, param

def get_all_restorable_parameters(self):
for name, param in self:
Expand Down

0 comments on commit 4f1717f

Please sign in to comment.