def urljoin(*args):
    return '/'.join(str(a or '').strip('/') for a in args)
A custom version of urljoin that simply joins strings into a path.
dataset/ETHPy150Open openstack/python-openstacksdk/openstack/utils.py/urljoin