def packages(self):
        '''
        Returns a list of all installed packages in this cluster, as a list of strings that are
        formatted according to the package friendly name (name + version).

        This list includes the base packages that were installed as part of the Dato deployment,
        Anaconda packages and any user specified `additional_packages`.
        '''
        if not self.is_running(_silent=True):
            raise RuntimeWarning('The cluster must be running in order to get the list of packages.')
        return _ec2_execution._get_package_list(self.cluster_controller)
Example #2
0
    def packages(self):
        '''
        Returns a list of all installed packages in this cluster, as a list of strings that are
        formatted according to the package friendly name (name + version).

        This list includes the base packages that were installed as part of the Turi deployment,
        Anaconda packages and any user specified `additional_packages`.
        '''
        if not self.is_running(_silent=True):
            raise RuntimeWarning(
                'The cluster must be running in order to get the list of packages.'
            )
        return _ec2_execution._get_package_list(self.cluster_controller)