qaekwy.response
This module provides classes for representing and handling responses from the optimization engine.
AbstractResponse
This is the base class for all responses.
get_status()
: Returns the status of the response.is_status_ok()
: ReturnsTrue
if the status is ‘Ok’,False
otherwise.get_message()
: Returns the message of the response.get_content()
: Returns the content of the response.
Response Classes
EchoResponse
: Represents the response from an ’echo’ request.VersionResponse
: Represents the response from a ‘version’ request.ModelJSonResponse
: Represents the response received after submitting a model.SolutionResponse
: Represents the response containing solution information.