Skip to content

Commit

Permalink
Avoid unexpected behaviour and ensure self returned in model validator
Browse files Browse the repository at this point in the history
  • Loading branch information
sea-shunned committed Sep 19, 2024
1 parent ff7961d commit 70c2989
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aiod_registry/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ def fill_empty_params(self):
for task in version.tasks.values():
if task.params is None:
task.params = self.params
return self


if __name__ == "__main__":
Expand Down

0 comments on commit 70c2989

Please sign in to comment.