code: def create(self, article, attachment, inline=False, file_name=None, content_type=None):
          
          return HelpdeskAttachmentRequest(self).post(self.endpoint.create,
                                                      article=article,
                                                      attachments=attachment,
                                                      inline=inline,
                                                      file_name=file_name,
                                                      content_type=content_type)
docs: This function creates attachment attached to article.
  
          :param article: Numeric article id or :class:`Article` object.
          :param attachment: File object or os path to file
          :param inline: If true, the attached file is shown in the dedicated admin UI
              for inline attachments and its url can be referenced in the HTML body of
              the article. If false, the attachment is listed in the list of attachments.
              Default is `false`
          :param file_name: you can set filename on file upload.
          :param content_type: The content type of the file. `Example: image/png`, Zendesk can ignore it.
          :return: :class:`ArticleAttachment` object