code: def upload_attachments(self, attachments, parentid=None, basedir=None):
          
          return Zupload(self, attachments, parentid, basedir=basedir).upload()
docs: Upload files to the already created (but never uploaded) attachments