

@discover.register(pymongo.database.Database)
def discover_mongo_database(db):
    names = db.collection_names()
    return DataShape(Record(zip(names, (discover(getattr(db, name)) for name in names))))

dataset/ETHPy150Open blaze/odo/odo/backends/mongo.py discover_mongo_database/original