def getDataCollection(self, collName, user = "******",
                          group = "cmsdataops"):
        """
        _getDataCollection_

        Get a data collection by name
        """
        coll = CouchCollection(name = collName, database = self.database,
                               url = self.url)

        coll.owner = self.newOwner(group, user)
        coll.populate()
        return coll
Example #2
0
    def getDataCollection(self,
                          collName,
                          user="******",
                          group="cmsdataops"):
        """
        _getDataCollection_

        Get a data collection by name
        """
        coll = CouchCollection(name=collName,
                               database=self.database,
                               url=self.url)

        coll.owner = self.newOwner(group, user)
        coll.populate()
        return coll