Source code for openff.bespokefit.schema.schema
from typing import Optional
from typing_extensions import Literal
from openff.bespokefit._pydantic import BaseModel, Field
Status = Literal["waiting", "running", "errored", "success"]
[docs]class Error(BaseModel):
type: str = Field(..., description="The type of exception that was raised.")
message: str = Field(..., description="The message associated with the exception.")
traceback: Optional[str] = Field(
None, description="The traceback associated with the exception"
)