Skip to content

Commit

Permalink
Merge pull request #270 from tigergraph/v1.8
Browse files Browse the repository at this point in the history
V1.8.3
  • Loading branch information
parkererickson-tg authored Dec 5, 2024
2 parents 53bd41e + 4a8b4f7 commit ee308c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyTigerGraph/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
from pyTigerGraph.pytgasync.pyTigerGraph import AsyncTigerGraphConnection
from pyTigerGraph.common.exception import TigerGraphException

__version__ = "1.8.1"
__version__ = "1.8.3"

__license__ = "Apache 2"
4 changes: 2 additions & 2 deletions pyTigerGraph/pytgasync/pyTigerGraphBase.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ async def _req(self, method: str, url: str, authMode: str = "token", headers: di
_headers, _data, verify = self._prep_req(
authMode, headers, url, method, data)

async with httpx.AsyncClient() as client:
async with httpx.AsyncClient(timeout=None) as client:
if jsonData:
res = await client.request(method, url, headers=_headers, json=_data, params=params)
else:
Expand Down Expand Up @@ -161,7 +161,7 @@ async def _req(self, method: str, url: str, authMode: str = "token", headers: di
else:
url = newRestppUrl + '/' + \
'/'.join(url.split(':')[2].split('/')[1:])
async with httpx.AsyncClient() as client:
async with httpx.AsyncClient(timeout=None) as client:
if jsonData:
res = await client.request(method, url, headers=_headers, json=_data, params=params)
else:
Expand Down

0 comments on commit ee308c6

Please sign in to comment.