kappa_sdk.ScriptResult#
- class kappa_sdk.ScriptResult(is_success, message)[source]#
KW script run result.
Returned by the
Connection.run_kw_script()
, this object tells whether the KW script was successfully run, and contains error information (if any).Note
Should not be instantiated directly.
Attributes
ScriptResult.is_success
Gets a value indicating whether the KW script was successfully run.
ScriptResult.message
Gets the error message, if any.
Methods
- Parameters:
is_success (bool)
message (str | None)