code: def audits(self, ticket=None, include=None, **kwargs):
          
          if ticket is not None:
              return self._query_zendesk(self.endpoint.audits, 'ticket_audit', id=ticket, include=include)
          else:
              return self._query_zendesk(self.endpoint.audits.cursor, 'ticket_audit', include=include, **kwargs)
docs: Retrieve TicketAudits. If ticket is passed, return the tickets for a specific audit.
  
          If ticket_id is None, a TicketAuditGenerator is returned to handle pagination. The way this generator
          works is a different to the other Zenpy generators as it is cursor based, allowing you to change the
          direction that you are consuming objects. This is done with the reversed() python method.
  
          For example:
  
          .. code-block:: python
  
              for audit in reversed(zenpy_client.tickets.audits()):
                  print(audit)
  
          See the `Zendesk docs <https://developer.zendesk.com/rest_api/docs/core/ticket_audits#pagination>`__ for
          information on additional parameters.
  
          :param include: list of objects to sideload. `Side-loading API Docs 
              <https://developer.zendesk.com/rest_api/docs/core/side_loading>`__.
          :param ticket: Ticket object or id