You MUST call hapi.composeNodeCookResult before calling hapi.getComposedNodeCookResult because hapi.getComposedNodeCookResult will not return the real result string and instead return a cached version of the string that was created inside hapi.composeNodeCookResult. The reason for this is that the length of the real status string may change between the call to hapi.composeNodeCookResult and the call to hapi.getComposedNodeCookResult.
Usage ¶
getComposedNodeCookResult(session
: hapi.Session, length
: int
) → str
Return cook result string message on a single node.
session
The session of Houdini you are interacting with. See hapi.Session for more on sessions. Pass None to just use the default in-process session.
length
Length of the string buffer (must match size of
string_value
- so including None terminator).
Returns string_value as a str
.