def METHOD_NAME(self, path):
    """
    Resolve the given a path relative to the current path.
    The given path can be a string like "a/b/c" or a list like ["a", "b", "c"].
    """
    if isinstance(path, str):
        if path.startswith("/"):
            raise RuntimeError("ObjectBuilder does not support absolute paths")
        if "\\" in path:
            raise RuntimeError(f"Paths should be '/' separated: {path}")
        path = path.strip("/").split("/")
    return self.cur_path + path