Skip to content

compile_proto.main

Full path: schola.scripts.utils.compile_proto.main

schola.scripts.utils.compile_proto.main

main

main(plugin_folder=WindowsPath("."), warnings_to_disable=None, add_type_stubs=True)

Compile Protobuf files for Schola

Parameters

plugin_folder (Path) : Path to the root directory of Schola (i.e. Parent of the folder containing the protobuf files).

warnings_to_disable (List[str]) : List of warnings to disable

add_type_stubs (bool) : Generate additional .pyi type stubs for type linting in python.