code: def time_stats(self, **kwargs):
          
          # Use the existing time_stats attribute if it exist, otherwise make an
          # API call
          if 'time_stats' in self.attributes:
              return self.attributes['time_stats']
  
          path = '%s/%s/time_stats' % (self.manager.path, self.get_id())
          return self.manager.gitlab.http_get(path, **kwargs)
docs: Get time stats for the object.
  
          Args:
              **kwargs: Extra options to send to the server (e.g. sudo)
  
          Raises:
              GitlabAuthenticationError: If authentication is not correct
              GitlabTimeTrackingError: If the time tracking update cannot be done