Update a series with new attributes.  This does not change
        any of the data written to this series. The recommended workflow for
        series updates is to pull a Series object down using the
        :meth:`get_series` method, change its attributes, then pass it into
        this method.

        :param series: the series to update
        :type series: `tempodb.protocol.Series` object
        :rtype: :class:`tempodb.response.Response` object with the updated
                :class:`tempodb.protocol.objects.Series` as the data payload

def update_series(self, series):
        """Update a series with new attributes.  This does not change
        any of the data written to this series. The recommended workflow for
        series updates is to pull a Series object down using the
        :meth:`get_series` method, change its attributes, then pass it into
        this method.

        :param series: the series to update
        :type series: `tempodb.protocol.Series` object
        :rtype: :class:`tempodb.response.Response` object with the updated
                :class:`tempodb.protocol.objects.Series` as the data payload"""

        url = make_series_url(series.key)

        resp = self.session.put(url, series.to_json())
        return resp