from typing import List


def construct_path_parts(parts: List[str]) -> str:
    """Return a string separated by '/' for a url path."""
    if isinstance(parts, list):
        return '/'.join(parts)
    elif parts is None:
        return ''
    else:
        return parts