MCPcopy Create free account
hub / github.com/YuminosukeSato/ironkernel / arg

Method arg

src/python/py_kernel.rs:42–45  ·  view source on GitHub ↗
(&self, name: &str)

Source from the content-addressed store, hash-verified

40 /// Create a single named argument expression.
41 #[pyo3(signature = (name))]
42 fn arg(&self, name: &str) -> PyExpr {
43 let temp_id = next_temp_id();
44 PyExpr::named(Expr::ArgRef(temp_id), name.to_string(), temp_id)
45 }
46
47 /// Create multiple named argument expressions.
48 #[pyo3(signature = (*names))]

Calls 1

next_temp_idFunction · 0.85