def strip(value: str) -> str:
    """
    Strip flanking whitespace from the passed string. Used to coerce values in Cerberus validators.

    :param value: the string to strip
    :return: the stripped string

    """
    return value.strip()