Switches task serialization over to pickle format

This commit is contained in:
Trenton H
2022-11-22 09:59:59 -08:00
parent b0625cdced
commit 97d6503fef
6 changed files with 109 additions and 69 deletions

View File

@@ -560,20 +560,6 @@ class PaperlessTask(models.Model):
help_text=_("Name of the Task which was run"),
)
task_args = models.JSONField(
null=True,
verbose_name=_("Task Positional Arguments"),
help_text=_(
"JSON representation of the positional arguments used with the task",
),
)
task_kwargs = models.JSONField(
null=True,
verbose_name=_("Task Named Arguments"),
help_text=_(
"JSON representation of the named arguments used with the task",
),
)
status = models.CharField(
max_length=30,
default=states.PENDING,