docs: def create_ticket(self, subject, **kwargs):
          """
              Creates a ticket
              To create ticket with attachments,
              pass a key 'attachments' with value as list of fully qualified file paths in string format.
              ex: attachments = ('/path/to/attachment1', '/path/to/attachment2')
          """
  
          url = 'tickets'
          status = kwargs.get('status', 2)
          priority = kwargs.get('priority', 1)
          data = {
              'subject': subject,
              'status': status,
              'priority': priority,
          }
          data.update(kwargs)
          if 'attachments' in data:
              ticket = self._create_ticket_with_attachment(url, data)
              return Ticket(**ticket)
  
          ticket = self._api._post(url, data=json.dumps(data))
          return Ticket(**ticket)