pub fn write_python_composition_module( output: &PythonCompositionOutput, module_dir: &Path, ) -> Result<(), Error>