generate_changelog.pipeline.import_function

import_function#

generate_changelog.pipeline.import_function(function_path)[source]#

Import a function from a dotted path.

Example

>>> import_function("generate_changelog.pipeline.noop_func")
<function noop_func at 0x11016d280>
Parameters:

function_path (str) – A dotted path to a function

Return type:

Callable

Returns:

The callable function