generate_changelog.actions.text_processing.PrefixString

PrefixString#

class generate_changelog.actions.text_processing.PrefixString[source]#

Prefix a string to the input when called.

prefix: Union[str, Callable[[], str]] = ''#

The string to prefix

__call__(input_text)[source]#

Prefix input_text.

Return type:

str

Parameters:

input_text (str | Callable[[], str]) –

__init__(prefix='')#
Parameters:

prefix (str | Callable[[], str]) –

Return type:

None