Skip to content

Commit

Permalink
Remove unused REQUEST_TIMEOUT from documented responses
Browse files Browse the repository at this point in the history
  • Loading branch information
tsundvoll committed Jan 24, 2023
1 parent e6ce7c7 commit ebe1c42
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions src/isar/apis/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,6 @@ def _create_scheduler_router(self) -> APIRouter:
HTTPStatus.CONFLICT.value: {
"description": "Conflict - Invalid command in the current state",
},
HTTPStatus.REQUEST_TIMEOUT.value: {
"description": "Timeout - Could not contact state machine",
},
HTTPStatus.INTERNAL_SERVER_ERROR.value: {
"description": "Internal Server Error - Current state of state machine unknown",
},
Expand All @@ -132,9 +129,6 @@ def _create_scheduler_router(self) -> APIRouter:
HTTPStatus.CONFLICT.value: {
"description": "Conflict - Invalid command in the current state",
},
HTTPStatus.REQUEST_TIMEOUT.value: {
"description": "Timeout - Could not contact state machine",
},
HTTPStatus.INTERNAL_SERVER_ERROR.value: {
"description": "Internal Server Error - Current state of state machine unknown",
},
Expand All @@ -154,9 +148,6 @@ def _create_scheduler_router(self) -> APIRouter:
HTTPStatus.CONFLICT.value: {
"description": "Conflict - Invalid command in the current state",
},
HTTPStatus.REQUEST_TIMEOUT.value: {
"description": "Timeout - Could not contact state machine",
},
HTTPStatus.INTERNAL_SERVER_ERROR.value: {
"description": "Internal Server Error - Current state of state machine unknown",
},
Expand All @@ -173,9 +164,6 @@ def _create_scheduler_router(self) -> APIRouter:
"description": "Mission succesfully paused",
"model": ControlMissionResponse,
},
HTTPStatus.REQUEST_TIMEOUT.value: {
"description": "Timeout - Could not contact state machine",
},
HTTPStatus.CONFLICT.value: {
"description": "Conflict - Invalid command in the current state",
},
Expand All @@ -195,9 +183,6 @@ def _create_scheduler_router(self) -> APIRouter:
"description": "Mission succesfully resumed",
"model": ControlMissionResponse,
},
HTTPStatus.REQUEST_TIMEOUT.value: {
"description": "Timeout - Could not contact state machine",
},
HTTPStatus.CONFLICT.value: {
"description": "Conflict - Invalid command in the current state",
},
Expand All @@ -216,9 +201,6 @@ def _create_scheduler_router(self) -> APIRouter:
HTTPStatus.OK.value: {
"description": "Drive to succesfully started",
},
HTTPStatus.REQUEST_TIMEOUT.value: {
"description": "Timeout - Could not contact state machine",
},
HTTPStatus.CONFLICT.value: {
"description": "Conflict - Invalid command in the current state",
},
Expand Down

0 comments on commit ebe1c42

Please sign in to comment.