Skip to content

Commit

Permalink
update serializer for cleanup workdir job
Browse files Browse the repository at this point in the history
  • Loading branch information
aperrin66 committed Nov 20, 2024
1 parent 01e795a commit 26ee684
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions geospaas_rest_api/processing_api/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class JobSerializer(rest_framework.serializers.Serializer):
'harvest': models.HarvestJob,
'syntool_cleanup': models.SyntoolCleanupJob,
'compare_profiles': models.SyntoolCompareJob,
'workdir_cleanup': models.WorkdirCleanupJob,
}

# Actual Job fields
Expand All @@ -29,6 +30,7 @@ class JobSerializer(rest_framework.serializers.Serializer):
'convert',
'harvest',
'syntool_cleanup',
'workdir_cleanup',
'compare_profiles',
],
required=True, write_only=True,
Expand Down

0 comments on commit 26ee684

Please sign in to comment.