app.model.StatusResponse
This module defines the data models for the status of a compile request. It provides classes to model progress, status, and associated timestamps.
Module Contents
- class app.model.StatusResponse.StatusType
Enumeration of possible status values.
- IN_PROGRESS = 'in progress'
The operation is still in progress
- FAILED = 'failed'
The operation failed
- COMPLETED = 'completed'
The operation completed successfully
- class app.model.StatusResponse.Progress(/, **data: Any)
Models the progress of a compile request.
- Parameters:
data (Any)
- model_config
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class app.model.StatusResponse.StatusBase(/, **data: Any)
Models the status of a process.
- Parameters:
data (Any)
- createdAt: datetime.datetime
When this operation started.
- model_config
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class app.model.StatusResponse.CreatedStatus(/, **data: Any)
Models the status of a running operation.
- Parameters:
data (Any)
- model_config
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class app.model.StatusResponse.SuccessStatus(/, **data: Any)
Models the status of a completed operation.
- Parameters:
data (Any)
- completedAt: datetime.datetime
When this operation completed successfully.
- model_config
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class app.model.StatusResponse.FailedStatus(/, **data: Any)
Models the status of a failed operation.
- Parameters:
data (Any)
- result: app.model.exceptions.LeqoProblemDetails
Machine-readable error information.
- model_config
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].