def dir(self):
        """Gets the node list of directories."""
        if self.type == "file":
            return None
        return [child.name for child in self.get_children()]
Gets the node list of directories.
pyicloud/services/drive.py