Function module_stub_files

Source
pub fn module_stub_files(module: &Module) -> HashMap<PathBuf, String>
Expand description

Generates the type stubs of a given module. It returns a map between the file name and the file content. The root module stubs will be in the __init__.pyi file and the submodules directory in files with a relevant name.