def METHOD_NAME(path_str: str) -> Path:
    """
    Converts a relative path generated on any platform to a relative path for the
    current platform.
    """
    return Path(PureWindowsPath(path_str).as_posix())