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.
- Type: string(external doc)
- Proto-Index: 1
isReady
true if the result is ready.
- Type: boolean(external doc)
- Proto-Index: 2
isScheduled
true if the result is scheduled for calculation but not ready yet.
- Type: boolean(external doc)
- Proto-Index: 3
error
Contains an error message when the calculation of the result failed.
- Type: string(external doc)
- Proto-Index: 4
time
The time when the state was obtained as Unix time stamp (see https://www.unixtimestamp.com/).
- Type: int(external doc)
- Proto-Index: 5
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