generate_changelog.pipeline.pipeline_factory

pipeline_factory#

generate_changelog.pipeline.pipeline_factory(action_list, commit_metadata_func=None, version_metadata_func=None, **kwargs)[source]#

Create a Pipeline from a list of actions specified by dictionaries.

Parameters:
  • action_list (list) – A list of dict s that specify Action attributes

  • commit_metadata_func (Optional[Callable]) – Optional callable that actions can use to set commit metadata

  • version_metadata_func (Optional[Callable]) – Optional callable that actions can use to set version metadata

  • **kwargs – keyword arguments to pass to the Pipeline constructor

Return type:

Pipeline

Returns:

The instantiated Pipeline