SequentialBuilder

class disseminate.builders.composite_builders.sequential_builder.SequentialBuilder(env, **kwargs)

A composite builder that runs subbuilders in sequence (i.e. wait for one to finish before starting the next)

Notes

With chain_on_create is enabled, he build filepaths for subbuilders are set as follows, with user-supplied paths in parentheses:

builder => subbuilder1 (parameters) => outfilepath1
        => subbuilder2 outfilepath2 => outfilepath3
        => subbuilder3 outfilepath3 => outfilepath4
        => outfilepath4 => (outfilepath)
Attributes
chain_on_createbool

If True (default), chain the parameters and outfilepath of the subbuilders to follow each other.

copybool

If True (default), the last subbuilders will be a Copy build to copy the result to the final outfilepath. This only applies if use_cache is False, in which case the final generated file is copied from the cache directory to the target directory.

subbuilder_for_outfilenameOptional[builders.Builder]

The subbuilder instance to use for generating the outfilepath of the SequentialBuilder. Specifying this class name is useful for SequentialBuilders that use the filename hash generated by some subbuilders, like JinjaRender or SaveTempFile.

chain_subbuilders()

Chain the parameters and outfilepath of the subbuilders to follow each other

property outfilepath

The output filename and path