schrodinger.maestro_utils.composer_agent.message_handler module¶
- class schrodinger.maestro_utils.composer_agent.message_handler.MessageState¶
Bases:
Enum
- PROCESSING = 'Processing...'¶
- EXECUTING = 'Executing...'¶
- TIMEOUT_ERROR = 'Request Timed Out!'¶
- HOST_NOT_FOUND_ERROR = 'Host Not Found!'¶
- ERROR = 'Something went wrong!'¶
- SUCCESS_RESPONSE = 'Response Received Successfully!'¶
- SUCCESS_EXECUTION = 'Query Executed Successfully!'¶
- EXECUTION_ERROR = 'Response could not be executed!'¶
- schrodinger.maestro_utils.composer_agent.message_handler.update_message_status(response_status: ResponseStatus, message_lbl: QLabel)¶
Update the message label with the status message.
- schrodinger.maestro_utils.composer_agent.message_handler.update_message_status_from_states(message_status: MessageState, message_lbl: QLabel)¶
Update the message label with the status message.