generate_changelog.actions.text_processing.Strip

Strip#

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

Create a callable that will strip a string from the ends of an input.

chars: Union[str, Callable[[], str]] = ' '#
__call__(input_text)[source]#

Strip characters from the ends of the input.

Return type:

str

Parameters:

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

__init__(chars=' ')#
Parameters:

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

Return type:

None