From 1680a739ebc6b60a4ea275c9cfa34fad31702771 Mon Sep 17 00:00:00 2001 From: cortadocodes Date: Mon, 20 Nov 2023 10:36:43 +0000 Subject: [PATCH 1/2] FIX: Fix typo in attribute name --- pyproject.toml | 2 +- server/example/models.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 8796c04..e22b707 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "exa" -version = "0.2.0" +version = "0.2.1" description = "" authors = ["Tom Clark "] license = "MIT" diff --git a/server/example/models.py b/server/example/models.py index 54e9d2b..9de67cd 100644 --- a/server/example/models.py +++ b/server/example/models.py @@ -149,6 +149,6 @@ def get_input_manifest(self): def get_service_revision(self): """If no service revision is set, then simply use the default, otherwise use the specified version""" - if getattr(self, "service_revison", None) is None: + if getattr(self, "service_revision", None) is None: return get_default_service_revision("octue", "exa-foo-fighting-service") return self.service_revision From fc95841e62f8f860cb4a7d7332e0273e5cfb9d7f Mon Sep 17 00:00:00 2001 From: cortadocodes Date: Mon, 20 Nov 2023 10:38:05 +0000 Subject: [PATCH 2/2] FIX: Send test ID as a string to conform with child twine --- server/example/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/example/models.py b/server/example/models.py index 9de67cd..e34ea52 100644 --- a/server/example/models.py +++ b/server/example/models.py @@ -140,7 +140,7 @@ def get_input_values(self): return { "max_duration": int(self.foo_fighting_test.max_duration), "randomise_duration": int(self.foo_fighting_test.randomise_duration), - "test_id": int(self.foo_fighting_test.id), + "test_id": str(self.foo_fighting_test.id), } def get_input_manifest(self):