Skip to content

Commit

Permalink
add conditions to task model
Browse files Browse the repository at this point in the history
  • Loading branch information
nathandf committed Nov 28, 2023
1 parent 7dad427 commit 723a31a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/src/backend/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ class Meta:
depends_on = models.JSONField(null=True, default=list)
description = models.TextField(null=True)
flavor = models.CharField(max_length=32, choices=TASK_FLAVORS, default=TASK_FLAVOR_C1_MED)
# conditions = models.JSONField(null=True)
conditions = models.JSONField(null=True, default=list)
input = models.JSONField(null=True)
invocation_mode = models.CharField(max_length=16, default=EnumInvocationMode.Async)
max_exec_time = models.BigIntegerField(
Expand Down

0 comments on commit 723a31a

Please sign in to comment.