dbMongo.py
def listClassClusterDB(self):
        """This method allows to ask the DB for clusters' classes list"""
        count = self.db.ClassClusterCollection.find().count()
        print("Number clusters' classes: ",count)
        if(count >= 1):
            result = True
            cursorListClassCluster = self.db.ClassClusterCollection.find()
            return result,cursorListClassCluster
        else:
            result = False
            cursorListClassCluster = None
            return result,cursorListClassCluster
This method allows to ask the DB for clusters' classes list
This method allows to ask the DB for clusters' classes list
This method allows to ask the DB for clusters ' classes list
def listClassClusterDB(self):
        count = self.db.ClassClusterCollection.find().count()
        print("Number clusters' classes: ",count)
        if(count >= 1):
            result = True
            cursorListClassCluster = self.db.ClassClusterCollection.find()
            return result,cursorListClassCluster
        else:
            result = False
            cursorListClassCluster = None
            return result,cursorListClassCluster
def listClassClusterDB ( self ) : count = self . db . ClassClusterCollection . find ( ) . count ( ) print ( "Number clusters' classes: " , count ) if ( count >= 1 ) : result = True cursorListClassCluster = self . db . ClassClusterCollection . find ( ) return result , cursorListClassCluster else : result = False cursorListClassCluster = None return result , cursorListClassCluster
This method allows to ask the DB for clusters' classes list
This method allows to ask the DB for clusters ' classes list
"""This method allows to ask the DB for clusters' classes list"""
self