SnakeBridge.PythonRunner behaviour (SnakeBridge v0.9.0)

View Source

Behaviour for executing Python scripts in the Snakepit-configured runtime.

Summary

Types

args()

@type args() :: [String.t()]

opts()

@type opts() :: keyword()

script()

@type script() :: String.t()

Callbacks

run(script, args, opts)

@callback run(script(), args(), opts()) :: {:ok, String.t()} | {:error, term()}