@value_converter
def inputpath(to_convert):
    'Converts string paths to pathlib Path objects\n\n    Args:\n        to_convert (string or pathlib.Path):\n            path represented as string\n\n    Returns:\n        (pathlib.Path): Path object\n\n    '
    return maybe_coerce_with(pathlib.Path, to_convert)
Converts string paths to pathlib Path objects

Args:
    to_convert (string or pathlib.Path):
        path represented as string

Returns:
    (pathlib.Path): Path object
@value_converter
def inputpath(to_convert):
    'Converts string paths to pathlib Path objects\n\n    Args:\n        to_convert (string or pathlib.Path):\n            path represented as string\n\n    Returns:\n        (pathlib.Path): Path object\n\n    '
    return maybe_coerce_with(pathlib.Path, to_convert)