def stream(self, name): """ Method for `View Data Stream <https://m2x.att.com/developer/documentation/v2/device#View-Data-Stream>`_ endpoint. :param name: The name of the Stream being retrieved :return: The matching Stream :rtype: Stream :raises: :class:`~requests.exceptions.HTTPError` if an error occurs when sending the HTTP request """ return Stream.get(self.api, self, name)
def stream(self, name): return Stream.get(self.api, self, name)