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
Gets a value indicating whether the KW script was successfully run.
Gets the error message, if any.
Methods
- Parameters:
is_success (bool)
message (str | None)
- property is_success: bool#
Gets a value indicating whether the KW script was successfully run.
- property message: str#
Gets the error message, if any.