nvflare.lighter.impl.template module

class TemplateBuilder[source]

Bases: Builder

Load template file.

Loads the content of the template_file into the key-value pair (template) in the build context.

initialize(project: Project, ctx: ProvisionContext)[source]

Prepare the builder with any necessary pre-processing.

Parameters:
  • project (Project) – The project to be provisioned.

  • ctx (ProvisionContext) – Context shared across builders.