Skip to content

Commit 8602e4e

Browse files
fix: re-added "type" in serialization that was mistakenly removed
1 parent e37246d commit 8602e4e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

arts-main/arts_core/models.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ class Runtime(models.Model):
2929
"""Available ARENA runtimes."""
3030

3131
INPUT_ATTRS = [
32-
"name", "apis", "runtime_type", "max_nmodules", "page_size", "aot_target"]
32+
"type", "name", "apis", "runtime_type", "max_nmodules", "page_size",
33+
"aot_target"
34+
]
3335

3436
uuid = models.UUIDField(
3537
primary_key=True, default=uuid.uuid4, editable=False,
@@ -84,7 +86,7 @@ class Module(models.Model):
8486
"""Currently running modules."""
8587

8688
INPUT_ATTRS = [
87-
"name", "filename", "filetype", "apis", "args", "env",
89+
"type", "name", "filename", "filetype", "apis", "args", "env",
8890
"channels", "peripherals"]
8991

9092
uuid = models.UUIDField(

0 commit comments

Comments
 (0)