connectordb/_stream.py
def device(self):
        """returns the device which owns the given stream"""
        splitted_path = self.path.split("/")

        return Device(self.db,
                      splitted_path[0] + "/" + splitted_path[1])
def device(self):
        splitted_path = self.path.split("/")

        return Device(self.db,
                      splitted_path[0] + "/" + splitted_path[1])
def device ( self ) : splitted_path = self . path . split ( "/" ) return Device ( self . db , splitted_path [ 0 ] + "/" + splitted_path [ 1 ] )
returns the device which owns the given stream
returns the device which owns the given stream