SynologyDSM/SynologyDSM.py
def disks(self):
        """Returns all available (internal) disks"""
        if self._data is not None:
            disks = []
            for disk in self._data["disks"]:
                disks.append(disk["id"])
            return disks
def disks(self):
        """Returns all available (internal) disks"""
        if self._data is not None:
            disks = []
            for disk in self._data["disks"]:
                disks.append(disk["id"])
            return disks
def disks ( self ) : if self . _data is not None : disks = [ ] for disk in self . _data [ "disks" ] : disks . append ( disk [ "id" ] ) return disks
Returns all available (internal) disks
Returns all available ( internal ) disks