def _fetch(self):
        timeline = self._api.GetUserTimeline(
            screen_name=self._username,
            count=40)

        if not self._dev_mode:
          # We do the filtering now, so that we don't look up user objects that
          # we don't need.
          timeline = [
              s for s in timeline
              if s.created_at_in_seconds <= self._digest_end_time and
                  s.created_at_in_seconds > self._digest_start_time
          ]

        return timeline
dataset/ETHPy150Open mihaip/streamspigot/app/tweetdigest/data.py/UserTwitterFetcher._fetch/original