def desc ( self ) : return '{0} (ID: {1}) - {2} - {3}' . format ( self . name , self . device_id , self . type , self . status )
python describe varible panda
Get a short description of the device .
def desc(self):
        """Get a short description of the device."""
        return '{0} (ID: {1}) - {2} - {3}'.format(
            self.name, self.device_id, self.type, self.status)