Skip to content

Commit

Permalink
undo changes for now
Browse files Browse the repository at this point in the history
  • Loading branch information
parkererickson-tg committed Apr 26, 2024
1 parent af07b1f commit cd2bf03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyTigerGraph/pyTigerGraphQuery.py
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ def getQueryDescription(self, queryName: Optional[Union[str, list]] = "all"):
if not res["error"]:
if logger.level == logging.DEBUG:
logger.debug("exit: getQueryDescription")
return res
return res["queries"]
else:
raise TigerGraphException(res["message"], res["code"])

Expand Down Expand Up @@ -698,6 +698,7 @@ def dropQueryDescription(self, queryName: str, dropParamDescriptions: bool = Tru
params = {"queries": [queryName], "queryParameters": [queryName+".*"]}
else:
params = {"queries": [queryName]}

res = self._delete(self.gsUrl+"/gsqlserver/gsql/description?graph="+self.graphname, authMode="pwd", data=params, jsonData=True)

if logger.level == logging.DEBUG:
Expand Down

0 comments on commit cd2bf03

Please sign in to comment.