MCPcopy Create free account
hub / github.com/Open-Quant/openquant / register

Function register

crates/pyopenquant/src/hrp.rs:40–46  ·  view source on GitHub ↗
(py: Python<'_>, parent: &Bound<'_, PyModule>)

Source from the content-addressed store, hash-verified

38}
39
40pub fn register(py: Python<'_>, parent: &Bound<'_, PyModule>) -> PyResult<()> {
41 let m = PyModule::new(py, "hrp")?;
42 m.add_function(wrap_pyfunction!(hrp_allocate, &m)?)?;
43 parent.add_submodule(&m)?;
44 parent.add("hrp", m)?;
45 Ok(())
46}

Callers 1

_coreFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected