Execution Result

class dazpy.ExecutionResult(value, output=<factory>, request_id='', success=True, error='', duration_ms=0.0)[source]

Bases: object

The result of a synchronous or asynchronous DazScript execution.

value

The return value of the script (JSON-decoded). May be None, a bool, int, float, str, list, or dict.

Type:

object

output

Lines written to the DAZ Studio message log during execution.

Type:

list[str]

request_id

The server-assigned request ID (empty for sync executions).

Type:

str

success

True if the script completed without error.

Type:

bool

error

Error message returned by the server (empty when successful).

Type:

str

duration_ms

Wall-clock execution time in milliseconds as measured by the server.

Type:

float