unpack_zip_response
- omni.nvcf.core.unpack_zip_response(session: urllib3.poolmanager.PoolManager, response: urllib3.response.HTTPResponse) Any
Retrieve and unpack an API call response that provides a reference to output assets. NOTE: Assumes there is a single output provided in the zip file.
- Parameters
session (urllib3.PoolManager) – Client session.
response (urllib3.HTTPResponse) – Zipped NVCF request response.
- Returns
JSON loaded result from the response.
- Return type
Any