From 4ad0284b1354d183d18360ac9d0de77c0ef1770d Mon Sep 17 00:00:00 2001 From: Iman Tabrizian Date: Mon, 15 Jan 2024 15:53:29 -0500 Subject: [PATCH 1/2] Add missing imports --- src/python/library/tritonclient/http/aio/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/python/library/tritonclient/http/aio/__init__.py b/src/python/library/tritonclient/http/aio/__init__.py index 68cb99dce..405474975 100755 --- a/src/python/library/tritonclient/http/aio/__init__.py +++ b/src/python/library/tritonclient/http/aio/__init__.py @@ -33,6 +33,9 @@ "The installation does not include http support. Specify 'http' or 'all' while installing the tritonclient package to include the support" ) from error +import base64 +import gzip +import zlib from urllib.parse import quote import rapidjson as json From a49ecdb0878c5162d6f5e5236eb61525959fda13 Mon Sep 17 00:00:00 2001 From: Iman Tabrizian Date: Tue, 16 Jan 2024 09:21:22 -0500 Subject: [PATCH 2/2] Fix CodeQL --- src/python/library/requirements/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/library/requirements/requirements.txt b/src/python/library/requirements/requirements.txt index 03fafdf16..6f84e21f9 100644 --- a/src/python/library/requirements/requirements.txt +++ b/src/python/library/requirements/requirements.txt @@ -26,4 +26,4 @@ numpy>=1.19.1 python-rapidjson>=0.9.1 -urllib3>=2.0.7 \ No newline at end of file +urllib3>=2.0.7