app.model.StatusResponse ======================== .. py:module:: app.model.StatusResponse .. autoapi-nested-parse:: 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 --------------- .. py:class:: StatusType Enumeration of possible status values. .. py:attribute:: IN_PROGRESS :value: 'in progress' The operation is still in progress .. py:attribute:: FAILED :value: 'failed' The operation failed .. py:attribute:: COMPLETED :value: 'completed' The operation completed successfully .. py:class:: Progress(/, **data: Any) Models the progress of a compile request. .. py:attribute:: percentage :type: int :value: None Progress percentage between 0 and 100. .. py:attribute:: currentStep :type: str Step that is currently executing. .. py:attribute:: model_config Configuration for the model, should be a dictionary conforming to [`ConfigDict`][pydantic.config.ConfigDict]. .. py:class:: StatusBase(/, **data: Any) Models the status of a process. .. py:attribute:: uuid :type: uuid.UUID Id of the operation represented by this status. .. py:attribute:: createdAt :type: datetime.datetime When this operation started. .. py:attribute:: progress :type: Progress Progress of this operation. .. py:attribute:: model_config Configuration for the model, should be a dictionary conforming to [`ConfigDict`][pydantic.config.ConfigDict]. .. py:class:: CreatedStatus(/, **data: Any) Models the status of a running operation. .. py:attribute:: completedAt :type: None :value: None This operation is not completed yet. .. py:attribute:: result :type: None :value: None The operation does not have a result yet. .. py:attribute:: model_config Configuration for the model, should be a dictionary conforming to [`ConfigDict`][pydantic.config.ConfigDict]. .. py:class:: SuccessStatus(/, **data: Any) Models the status of a completed operation. .. py:attribute:: completedAt :type: datetime.datetime When this operation completed successfully. .. py:attribute:: result :type: str Location of the result of this operation. .. py:attribute:: model_config Configuration for the model, should be a dictionary conforming to [`ConfigDict`][pydantic.config.ConfigDict]. .. py:class:: FailedStatus(/, **data: Any) Models the status of a failed operation. .. py:attribute:: completedAt :type: None :value: None The operation did not complete (successfully). .. py:attribute:: result :type: app.model.exceptions.LeqoProblemDetails Machine-readable error information. .. py:attribute:: model_config Configuration for the model, should be a dictionary conforming to [`ConfigDict`][pydantic.config.ConfigDict].