fn _call_python_function<S, I, T>(function: S, args: I) -> Result<AttrValue>
Expand description
Call a python function with a set of arguments. The arguments must be
convertible to AttrValue
.
§Examples
We can run python code like so:
ⓘlet res = call_python_function("print", ["a", "b", "c"])?;