get_long_running_operation_status#

abstractmethod Application.get_long_running_operation_status(operation_id: str) → Dict[str, Any]#

Get the status (and, once finished, the result) of a long running operation.

Note

This is a non-destructive, repeatable status poll: the operation is not removed from the server-side registry, even once finished. Use wait_for_long_running_operation() to also consume/discard it.

Note

Method is supported for Ansys optiSLang version >= 27.1 only.

Parameters:
operation_id: str

ID of the long running operation, as returned e.g. by a node’s load method when called with run_async=True.

Returns:
Dict[str, Any]

Dictionary with keys operation_id, is_finished and, once finished, result.

Raises:
OslCommunicationError

Raised when an error occurs while communicating with the server.

OslCommandError

Raised when a command or query fails, e.g. because no such operation is registered.

TimeoutError

Raised when the timeout float value expires.