Connector
Code Runner (Unrestricted)
Run unrestricted Python from a playbook step
Execute Python snippets with no sandbox restrictions: top-level return works and open()/filesystem access is available.
Download .tgz · 2.8 KB
code-runner_1.0.1.tgz
sha256:8528c7cb0d37ac2dc5c393531a3b006d5f7890d9feffc6d822eb3e1e685b205a
Source repository Community code that runs on your platform. A maintainer reviewed this exact source; the download is rebuilt from it. Follow the to install it.
Operations · 1
Run Python (Unrestricted) 2 params
run_pythonrun_pythonExecute the supplied Python with full builtins and filesystem access. Use 'return <value>' to set code_output.
- Python Code
codecodeEditor requiredPython to execute. A top-level 'return <value>' sets code_output. The 'params' dict (from Input) and 'config' are in scope. open()/import are unrestricted.
- Input
inputjsonOptional dict passed to the snippet as 'params' (e.g. {"recipients": "a@b.com"}).
Something wrong with this item? Sign in to report