我试图清除apache atlas中已删除的实体,我一直得到以下错误
"error":"无法反序列化START_OBJECT令牌中java.util.HashSet<java.lang.Object>
的实例n在[来源:(org.eclipse.jetty.server.HttpInputOverHTTP);
我正在使用以下python代码。我应该如何格式化我的json请求?
def purgeEntity (guid):端点= 'http://localhost:21000/api/atlas/admin/purge'Response = requests.post(端点,data = guid,auth = HTTPBasicAuth("管理","密码"),headers={"Content-Type"; "application/json"}) data = json.dumps({" guide ";("0 f8aad54 - 7275 - 483 - e - 90 - ca - 8 b1c09b061bc"]}) purgeEntity(数据)
curl -iv -u admin:admin -X DELETE http://localhost:21000/api/atlas/v2/entity/guid/3f62e45b-5e0b-4431-be1f-b5c77808f29b