From 70c298927a1859f4679b1e344571bdaf7399d352 Mon Sep 17 00:00:00 2001 From: sea-shunned Date: Thu, 19 Sep 2024 15:48:49 +0100 Subject: [PATCH] Avoid unexpected behaviour and ensure self returned in model validator --- aiod_registry/schema.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aiod_registry/schema.py b/aiod_registry/schema.py index 3a5cac6..4ebafca 100644 --- a/aiod_registry/schema.py +++ b/aiod_registry/schema.py @@ -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__":