写了一个python脚本查询某个tag任意5个节点,用的http服务,查到结果后用result_to_df转成dataframe 想jsonify或者json.dump() 查询结果返回,结果出TypeEror:Object of type ValueWrapper is not JSON serializable
可以用 .cast_primitive()
Repo 的 readme 里有详细信息。
此外,服务端也有 execute_json 接口,这个是在 nebula server 端序列化的