diff --git a/pyTigerGraph/pyTigerGraphQuery.py b/pyTigerGraph/pyTigerGraphQuery.py index 58cf9ee4..fe63ca43 100644 --- a/pyTigerGraph/pyTigerGraphQuery.py +++ b/pyTigerGraph/pyTigerGraphQuery.py @@ -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["queries"] + return res else: raise TigerGraphException(res["message"], res["code"])