def __init__(self, ic, url, dataset): Thread.__init__(self) self.ic = ic self.url = url self.dataset = dataset self.dbs3api = DBS3Client(url) self.api = Dbs2Api()
def __init__(self, url="http://localhost:8585/dbs3/", IC=0, NFILES=1, NPARENTS=0, NLUMIS=0): Thread.__init__(self) self.cli = DBS3Client(url) self.IC = IC self.NFILES = NFILES self.NPARENTS = NPARENTS self.NLUMIS = NLUMIS
def setUp(self): """setup all necessary parameters""" url = "http://localhost:8587/dbs3/" self.cli = DBS3Client(url)
def __init__(self, IC, url="http://localhost:8585/dbs3/"): Thread.__init__(self) self.cli = DBS3Client(url) self.IC = IC