linkahead.utils.server_side_scripting module
server_side_scripting
Helper functions for calling server-side scripts.
- class linkahead.utils.server_side_scripting.ScriptingResponse(call, code, stdout, stderr)
Bases:
object
A data class for the response of server-side scripting calls.
Properties
- codeint
The return code of the script process.
- callstr
The complete call of the script minus the absolute path and the auth_token.
- stdoutstr
The STDOUT of the script process.
- stderrstr
The STDERR of the script process.
- linkahead.utils.server_side_scripting.run_server_side_script(call, *args, files=None, **kwargs)
- Returns:
response
- Return type: