code: def live(self):
          
          session = self._session
          url = "{}/live".format(self._base_url)
          supported_params = frozenset(['filter[port]'])
          params = {k: v for k, v in iteritems(self._params)
                    if k in supported_params}
          return session.live(url, self._datapoint_class, {
              'is_aggregate': self._is_aggregate
          }, params=params)
docs: Get a live stream of timeseries readings.
  
          This returns an Iterable over a live stream of readings. Note
          that the result will need to be closed since the system can
          not tell when you'll be done with it.
  
          You can either call ``close`` on the endpoint when you're or
          use the context management facilities of the endpoint.
  
  
          .. code-block:: python
  
              # Fetch a sensor
              timeseries = sensor.timeseries()
  
              # ensure live endpoint closed
              with timeseries.live() as live:
                  # Wait for 10 readings
                  first10 = list(islice(live, 10))
  
          Returns: