m2x/v2/streams.py
def update(self, **attrs):
        """ Method for `Update Data Stream <https://m2x.att.com/developer/documentation/v2/device#Create-Update-Data-Stream>`_ endpoint.

        :param attrs: Query parameters passed as keyword arguments. View M2X API Docs for listing of available parameters.

        :return: The Stream being updated
        :rtype: Stream

        :raises: :class:`~requests.exceptions.HTTPError` if an error occurs when sending the HTTP request
        """
        self.data.update(self.item_update(self.api, self.device, self.name, **attrs))
        return self.data
def update(self, **attrs):
        """ Method for `Update Data Stream <https://m2x.att.com/developer/documentation/v2/device#Create-Update-Data-Stream>`_ endpoint.

        :param attrs: Query parameters passed as keyword arguments. View M2X API Docs for listing of available parameters.

        :return: The Stream being updated
        :rtype: Stream

        :raises: :class:`~requests.exceptions.HTTPError` if an error occurs when sending the HTTP request
        """
        self.data.update(self.item_update(self.api, self.device, self.name, **attrs))
        return self.data
Method for `Update Data Stream <https://m2x.att.com/developer/documentation/v2/device#Create-Update-Data-Stream>`_ endpoint.

        :param attrs: Query parameters passed as keyword arguments. View M2X API Docs for listing of available parameters.

        :return: The Stream being updated
        :rtype: Stream

        :raises: :class:`~requests.exceptions.HTTPError` if an error occurs when sending the HTTP request