Skip to content

Template

Class Template

class Template(abc.ABC)

[view_source]

A template represents a codified sequence of actions that can be further customized, with the intent to reduce the boilerplate of the build.novella file.

setup

def setup(context: NovellaContext) -> None

[view_source]

Called before the pre closure in {@link pydoc:novella.novella.NovellaContext.template}.

define_pipeline

def define_pipeline(context: NovellaContext) -> None

[view_source]

Called between the pre and post closure in {@link pydoc:novella.novella.NovellaContext.template}.