def _parse_object_name(object_name): if isinstance(object_name, list): object_name = quote(('/'.join(object_name))) return object_name