Skip to main content

generate_python_module

Function generate_python_module 

Source
pub fn generate_python_module(
    spec: &Specification,
    opts: &PythonGenOptions,
) -> Result<String>
Expand description

Codegen entry point — IDL spec → complete Python source.

§Errors

IdlPythonError::Unsupported for IDL constructs that the Python mapping does not (yet) support: valuetype, interface, fixed, map, any.