Skip to content

Commit

Permalink
fix(query descriptions): fix version check
Browse files Browse the repository at this point in the history
  • Loading branch information
parkererickson-tg committed Apr 21, 2024
1 parent ecbdb1a commit f49bb31
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyTigerGraph/pyTigerGraphQuery.py
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ def describeQuery(self, queryName: str, queryDescription: str, parameterDescript
The response from the database.
"""
logger.info("entry: describeQuery")
self.ver =self.conn.getVer()
self.ver = self.getVer()
major_ver, minor_ver, patch_ver = self.ver.split(".")
if int(major_ver) < 4:
logger.info("exit: describeQuery")
Expand Down Expand Up @@ -647,7 +647,7 @@ def getQueryDescription(self, queryName: Optional[Union[str, list]] = "all"):
The description of the query(ies).
"""
logger.info("entry: getQueryDescription")
self.ver =self.conn.getVer()
self.ver = self.getVer()
major_ver, minor_ver, patch_ver = self.ver.split(".")
if int(major_ver) < 4:
logger.info("exit: getQueryDescription")
Expand Down Expand Up @@ -681,7 +681,7 @@ def dropQueryDescription(self, queryName: str, dropParamDescriptions: bool = Tru
The response from the database.
"""
logger.info("entry: dropQueryDescription")
self.ver =self.conn.getVer()
self.ver = self.getVer()
major_ver, minor_ver, patch_ver = self.ver.split(".")
if int(major_ver) < 4:
logger.info("exit: describeQuery")
Expand Down

0 comments on commit f49bb31

Please sign in to comment.