def __init__(self): self.mongo = _default_mongo_db()
def get_db_names(): results = _default_mongo_db().database_names() return [r for r in results if r.startswith('news')]