Skip to content

Commit ee308c6

Browse files
Merge pull request #270 from tigergraph/v1.8
V1.8.3
2 parents 53bd41e + 4a8b4f7 commit ee308c6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyTigerGraph/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
from pyTigerGraph.pytgasync.pyTigerGraph import AsyncTigerGraphConnection
33
from pyTigerGraph.common.exception import TigerGraphException
44

5-
__version__ = "1.8.1"
5+
__version__ = "1.8.3"
66

77
__license__ = "Apache 2"

pyTigerGraph/pytgasync/pyTigerGraphBase.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ async def _req(self, method: str, url: str, authMode: str = "token", headers: di
133133
_headers, _data, verify = self._prep_req(
134134
authMode, headers, url, method, data)
135135

136-
async with httpx.AsyncClient() as client:
136+
async with httpx.AsyncClient(timeout=None) as client:
137137
if jsonData:
138138
res = await client.request(method, url, headers=_headers, json=_data, params=params)
139139
else:
@@ -161,7 +161,7 @@ async def _req(self, method: str, url: str, authMode: str = "token", headers: di
161161
else:
162162
url = newRestppUrl + '/' + \
163163
'/'.join(url.split(':')[2].split('/')[1:])
164-
async with httpx.AsyncClient() as client:
164+
async with httpx.AsyncClient(timeout=None) as client:
165165
if jsonData:
166166
res = await client.request(method, url, headers=_headers, json=_data, params=params)
167167
else:

0 commit comments

Comments
 (0)