module args.zip_helper

Short summary

module lightmlrestapi.args.zip_helper

Machine Learning Post request

source on GitHub

Functions

function

truncated documentation

unzip_bytes

Unzips everything from a buffer.

zip_dict

Zips a dictionary { str: bytes }.

Documentation

Machine Learning Post request

source on GitHub

lightmlrestapi.args.zip_helper.unzip_bytes(buffer)

Unzips everything from a buffer.

Parameters:

buffer – bytes

Returns:

dictionary { filename : bytes }

source on GitHub

lightmlrestapi.args.zip_helper.zip_dict(data, **kwargs)

Zips a dictionary { str: bytes }.

Parameters:
Returns:

bytes

source on GitHub