def sg_query_streamer(self, index):
        """Query the current status of a streamer."""

        resp = self.sensor_graph.query_streamer(index)
        if resp is None:
            return [struct.pack("<L", _pack_sgerror(SensorGraphError.STREAMER_NOT_ALLOCATED))]

        return [struct.pack("<LLLLBBBx", *resp)]
def sg_query_streamer ( self , index ) : resp = self . sensor_graph . query_streamer ( index ) if resp is None : return [ struct . pack ( "<L" , _pack_sgerror ( SensorGraphError . STREAMER_NOT_ALLOCATED ) ) ] return [ struct . pack ( "<LLLLBBBx" , * resp ) ]
Query the current status of a streamer.