def __init__(self): self.data = data()
def __init__(self): self.mongo = mdb_model.mongo_catalog() config.read(cfgfile) host = config.get('database','host') port = int(config.get('database','port')) self.getdata = get.data(host, port)
def __init__(self): self.data = data()
def __init__(self): self.mongo = mdb_model.mongo_catalog() config.read(cfgfile) host = config.get('database','host') port = int(config.get('database','port')) self.getdata = get.data(host, port)