ResultState

Properties

@id

The ID of the result. This can be used to query the next state or to query the result when it is ready.

isReady

true if the result is ready.

isScheduled

true if the result is scheduled for calculation but not ready yet.

error

Contains an error message when the calculation of the result failed.

time

The time when the state was obtained as Unix time stamp (see https://www.unixtimestamp.com/).

Python class stub

The snippet below shows the names of the properties of the corresponding Python class of the olca-schema package. Note that this is not the full class definition but just shows the names of the class and its properties.


@dataclass
class ResultState:
  id: str
  error: str
  is_ready: bool
  is_scheduled: bool
  time: int