diff --git a/src/edeposit/amqp/rest/structures/outgoing.py b/src/edeposit/amqp/rest/structures/outgoing.py index 628f8f6..a126d2b 100755 --- a/src/edeposit/amqp/rest/structures/outgoing.py +++ b/src/edeposit/amqp/rest/structures/outgoing.py @@ -3,17 +3,27 @@ # # Interpreter version: python 2.7 # +""" +Structures which are sent back to edeposit. +""" # Imports ===================================================================== from collections import namedtuple -# Variables =================================================================== # Functions & classes ========================================================= class UploadRequest(namedtuple("UploadRequest", ["username", "rest_id", "b64_data", "metadata"])): """ + User's upload request with following data: + + Attributes: + username (str): User's handle in the REST system. See + :class:`.SaveLogin` and :class:`.RemoveLogin`. + rest_id (str): Unique identificator of the request. + b64_data (str): Content of the file packed as base64 data. + metadata (dict): Dictionary with metadata. """