This module defines types used for pre-check operations.
JobStatus
Bases: StrEnum
Enumeration of possible job statuses.
Source code in gso/utils/types/lso_response.py
| class JobStatus(StrEnum):
"""Enumeration of possible job statuses."""
SUCCESSFUL = "successful"
FAILED = "failed"
|
ExecutionResult
Bases: BaseModel
Model for capturing the result of an executable run.
Source code in gso/utils/types/lso_response.py
| class ExecutionResult(BaseModel):
"""Model for capturing the result of an executable run."""
output: str
return_code: int
status: JobStatus
|
ExecutableRunResponse
Bases: BaseModel
Response for running an arbitrary executable.
Source code in gso/utils/types/lso_response.py
| class ExecutableRunResponse(BaseModel):
"""Response for running an arbitrary executable."""
job_id: UUID
result: ExecutionResult
|