WISP ERT (Server)  1.0.0
The WISP Extended Runtime (Server side)
wisp_ert.util Namespace Reference

Functions

def not_implemented (is_error=False, prompt=None)
 Shorthand method to throw not implemented (error). More...
 
def setitem_keypath (d, keypath, value)
 Set dictionary item by keypath. More...
 

Variables

string NOT_IMPL_PROMPT = "This function is not implemented."
 Not implemented prompt. More...
 
string NOT_IMPL_ERROR_PROMPT = "This function is required to be implemented."
 Not implemented error prompt. More...
 

Function Documentation

◆ not_implemented()

def wisp_ert.util.not_implemented (   is_error = False,
  prompt = None 
)

Shorthand method to throw not implemented (error).

Parameters
is_errorThrow NotImplemented or NotImplementedError.
promptCustom not implemented prompt.
Exceptions
NotImplementedor NotImplementedError.

◆ setitem_keypath()

def wisp_ert.util.setitem_keypath (   d,
  keypath,
  value 
)

Set dictionary item by keypath.

Parameters
dDictinoary.
keypathKey path.
valueValue to set.

Variable Documentation

◆ NOT_IMPL_ERROR_PROMPT

string wisp_ert.util.NOT_IMPL_ERROR_PROMPT = "This function is required to be implemented."

Not implemented error prompt.

◆ NOT_IMPL_PROMPT

string wisp_ert.util.NOT_IMPL_PROMPT = "This function is not implemented."

Not implemented prompt.