def build_url(nodes):
"""
Build a url with the given array of nodes for the url and return path and url respectively
Ordering is important
"""
path = str.join('/', nodes)
url = str.join('/', [get_api_url(), path])
return path, url
评论列表
文章目录