def __init__(self, pid, record, fileobj):
        """Default constructor.

        :param file: ObjectVersion instance from Invenio-Files-REST.
        """
        self.file = fileobj
        self.pid = pid
        self.record = record
def __init__ ( self , pid , record , fileobj ) : self . file = fileobj self . pid = pid self . record = record
Default constructor.

        :param file: ObjectVersion instance from Invenio-Files-REST.