Skip to content

Commit

Permalink
Merge pull request #5 from octue/fix-question-format
Browse files Browse the repository at this point in the history
Fix question format
  • Loading branch information
cortadocodes authored Nov 20, 2023
2 parents 7460632 + fc95841 commit c7ee0a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "exa"
version = "0.2.0"
version = "0.2.1"
description = ""
authors = ["Tom Clark <[email protected]>"]
license = "MIT"
Expand Down
4 changes: 2 additions & 2 deletions server/example/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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

0 comments on commit c7ee0a1

Please sign in to comment.