hydra.build.manifest_writer module

Per-package manifest.json field-assembly and serialization logic shared by the code-generation drivers.

hydra.build.manifest_writer.package_manifest_json(pkg: str, main_mods: Sequence[Module], dsl_mods: Sequence[Module], enc_mods: Sequence[Module], test_mods: Sequence[Module]) Value

The manifest.json contents for one package: field assembly + serialization, given the package name and its main/dsl/encoding/test module lists.

hydra.build.manifest_writer.sorted_namespaces(mods: Sequence[Module]) Value

The sorted namespace strings of a list of modules, as a JSON string array.