stub_info

Function stub_info 

Source
pub fn stub_info() -> Result<StubInfo>
Expand description

Generate Python type stub info for PyO3 bindings.

Assumes the pyproject.toml is located in the python/ directory relative to the workspace root.

§Panics

Panics if the path locating the pyproject.toml is incorrect.

§Errors

Returns an error if stub information generation fails.

§Reference