Ejemplo n.º 1
0
    def forests(self, connection=None):
        """
        Get a list of the forests in the local cluster.
        """
        if connection is None:
            connection = self.connection

        return Forest.list(connection)
Ejemplo n.º 2
0
    def forests(self, connection=None):
        """
        Get a list of the forests in the local cluster.
        """
        if connection is None:
            connection = self.connection

        return Forest.list(connection)
Ejemplo n.º 3
0
 def list(self, args, config, connection):
     forests = Forest.list(connection)
     print(json.dumps(forests, sort_keys=True, indent=2))
Ejemplo n.º 4
0
 def list(self, args, config, connection):
     print(Forest.list(connection))
    def forests(self, connection=None):
        if connection is None:
            connection = self.connection

        return Forest.list(connection)
Ejemplo n.º 6
0
    def forests(self, connection=None):
        if connection is None:
            connection = self.connection

        return Forest.list(connection)
Ejemplo n.º 7
0
 def list(self, args, config, connection):
     print(Forest.list(connection))
Ejemplo n.º 8
0
 def list(self, args, config, connection):
     forests = Forest.list(connection)
     print(json.dumps(forests, sort_keys=True, indent=2))