Skip to content
Snippets Groups Projects
Commit 510aa4d0 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

TMSS-207: typos

parent c1fd1202
No related branches found
No related tags found
1 merge request!162Intermediate merge of TMSS-207 to master
......@@ -166,10 +166,10 @@ class SchedulingUnitDraftViewSet(LOFARViewSet):
queryset = models.SchedulingUnitDraft.objects.all()
serializer_class = serializers.SchedulingUnitDraftSerializer
@swagger_auto_schema(responses={201: 'Created schduling unit blueprint, see Location in Response header',
@swagger_auto_schema(responses={201: 'The Created SchedulingUnitBlueprint, see Location in Response header',
403: 'forbidden'},
operation_description="Carve this draft task specification in stone, and make an (uneditable) blueprint out of it.")
@action(methods=['get'], detail=True, url_name="create_task_blueprint")
operation_description="Carve SchedulingUnitDraft in stone, and make an (uneditable) blueprint out of it.")
@action(methods=['get'], detail=True, url_name="create_task_blueprint", name="Create SchedulingUnitBlueprint")
def create_scheduling_unit_blueprint(self, request, pk=None):
scheduling_unit_draft = get_object_or_404(models.SchedulingUnitDraft, pk=pk)
scheduling_unit_blueprint = create_scheduling_unit_blueprint_from_scheduling_unit_draft(scheduling_unit_draft)
......@@ -184,10 +184,10 @@ class SchedulingUnitDraftViewSet(LOFARViewSet):
status=status.HTTP_201_CREATED,
headers={'Location': scheduling_unit_blueprint_path})
@swagger_auto_schema(responses={201: 'Created schduling unit blueprint, see Location in Response header',
@swagger_auto_schema(responses={201: 'The Created schduling unit blueprint, see Location in Response header',
403: 'forbidden'},
operation_description="Carve this scheduling unit draft, and its tasks in stone, and make blueprint(s) out of it, create subtasks, and schedule the ones that are not dependend on predecessors.")
@action(methods=['get'], detail=True, url_name="create_blueprints_and_schedule", name="Create Blueprints and Schedule")
@action(methods=['get'], detail=True, url_name="create_blueprints_and_schedule", name="Create Blueprints-Tree and Schedule")
def create_blueprints_and_schedule(self, request, pk=None):
scheduling_unit_draft = get_object_or_404(models.SchedulingUnitDraft, pk=pk)
scheduling_unit_blueprint = create_task_blueprints_and_subtasks_and_schedule_subtasks_from_scheduling_unit_draft(scheduling_unit_draft)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment