client icon indicating copy to clipboard operation
client copied to clipboard

fix: Add missing import to aio support

Open AIvashov opened this issue 1 year ago • 1 comments

Fix NameError. Add missing import to aio support

File "python-3.11.4/lib/python3.11/site-packages/tritonclient/http/aio/__init__.py", line 725, in infer
    request_body = gzip.compress(request_body)
                   ^^^^
NameError: name 'gzip' is not defined

AIvashov avatar Oct 30 '23 15:10 AIvashov

thanks for the contribution! we've merged another PR that should fix this.

Tabrizian avatar Jan 16 '24 22:01 Tabrizian