module args.zip_helper
¶
Short summary¶
module lightmlrestapi.args.zip_helper
Machine Learning Post request
Functions¶
function |
truncated documentation |
---|---|
Unzips everything from a buffer. |
|
Zips a dictionary |
Documentation¶
Machine Learning Post request
- lightmlrestapi.args.zip_helper.unzip_bytes(buffer)¶
Unzips everything from a buffer.
- Parameters:
buffer – bytes
- Returns:
dictionary
{ filename : bytes }
- lightmlrestapi.args.zip_helper.zip_dict(data, **kwargs)¶
Zips a dictionary
{ str: bytes }
.- Parameters:
data – dictionary
kwargs – see zipfile.ZipFile
- Returns:
bytes