1 2 3 4 5 6 7 8 9 10
#[cfg(feature = "python")] use pyo3::prelude::*; #[cfg(feature = "python")] #[pymodule] pub fn _stock_trek(py: Python<'_>, m: &Bound<'_, PyModule>) -> PyResult<()> { m.add_submodule(&super::data::create_module(py)?)?; Ok(()) }