mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Upgrade SQLAlchemy to v2.0.18 and fix async_timeout warning
This commit is contained in:
1 parent
b0657b39ef
commit
ca48efa5be
2 files changed
+2
-2
No files matched your search
@@ -503,7 +503,7 @@ class Compute:
|
||||
return self._getUrl(path)
|
||||
|
||||
async def _run_http_query(self, method, path, data=None, timeout=20, raw=False):
|
||||
with async_timeout.timeout(timeout):
|
||||
async with async_timeout.timeout(delay=timeout):
|
||||
url = self._getUrl(path)
|
||||
headers = {"content-type": "application/json"}
|
||||
chunked = None
|
||||
|
||||
Reference in new issue
Block a user