code: def list_event_types(self, filter=market_filter(), locale=None, session=None, lightweight=None):
          
          params = clean_locals(locals())
          method = '%s%s' % (self.URI, 'listEventTypes')
          (response, elapsed_time) = self.request(method, params, session)
          return self.process_response(response, resources.EventTypeResult, elapsed_time, lightweight)
docs: Returns a list of Event Types (i.e. Sports) associated with the markets
          selected by the MarketFilter.
  
          :param dict filter: The filter to select desired markets
          :param str locale: The language used for the response
          :param requests.session session: Requests session object
          :param bool lightweight: If True will return dict not a resource
  
          :rtype: list[resources.EventTypeResult]