generate_changelog.pipeline.Pipeline

Pipeline#

class generate_changelog.pipeline.Pipeline[source]#

A collection of actions to perform on an input.

__init__(actions, **kwargs)[source]#
Parameters:

actions (list | tuple) –

actions: tuple#

The actions to perform on the input.

context: dict#

The current state of the pipeline initialized by keyword arguments.

run(input_value=None)[source]#

Run the pipeline using input_value as the starting point.

Parameters:

input_value (Optional[str]) – An optional string value to start the pipeline.

Return type:

str

Returns:

The processed result of the pipeline.