Skip to main content

register

Function register 

Source
pub fn register(parent_module: &Bound<'_, PyModule>) -> PyResult<()>
Expand description

Registers the gridpdf module with the parent Python module.

Adds the gridpdf submodule to the parent Python module, exposing grid interpolation utilities to Python.

ยงErrors

Returns a PyErr if the submodule cannot be created or added, or if any class registration fails.