Skip to content

Commit 202ab32

Browse files
add null
1 parent 4c1cbe2 commit 202ab32

File tree

2 files changed

+1
-21
lines changed

2 files changed

+1
-21
lines changed

label_studio/ml_models/migrations/0017_modelrun_recreate_predictions.py

-20
This file was deleted.

label_studio/ml_models/models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ class ModelRunStatus(models.TextChoices):
184184

185185
completed_at = models.DateTimeField(_('completed at'), null=True, default=None)
186186

187-
recreate_predictions = models.BooleanField(_('recreate predictions'), default=True)
187+
recreate_predictions = models.BooleanField(_('recreate predictions'), null=True, default=None)
188188

189189
def has_permission(self, user):
190190
return user.active_organization == self.organization

0 commit comments

Comments
 (0)