如何批量更新TAG

我使用 nebula-python 更新TAG,在批量执行update情况先,如果中间有一个update失败,导致后面的update无法执行,如果忽略这个错误,继续执行后面的update。举例
session.execute(“update vertex on user “idxxx” set sex = ‘1’”; # 成功
"update vertex on user “idyyy” set sex = ‘1’ "; #失败,VID不存在
“update vertex on user “idzzz” set sex = ‘1’”) #成功

如何在第二条语句失败的情况下,继续执行第三个 idzzz的更新。

此话题已在最后回复的 30 天后被自动关闭。不再允许新回复。