generate_python_code

Function generate_python_code 

Source
pub fn generate_python_code(
    reporter: &Reporter,
    output_pkg_path: impl AsRef<Utf8Path>,
    testing_output_pkg_path: impl AsRef<Utf8Path>,
    objects: &Objects,
    type_registry: &TypeRegistry,
    check: bool,
)
Expand description

Generates Python code.

If check is true, this will run a comparison check instead of writing files to disk.

Panics on error.

  • output_pkg_path: path to the root of the output package.