()
return db
returns an instance of the mongodb client
returns an instance of the mongodb client
returns an instance of the mongodb client
def get_db():
    '''
    returns an instance of the mongodb client
    '''
    client = pymongo.MongoClient()
    db = client['podcasts']
    logging.debug('Got the database instance')
    return db
def get_db ( ) : client = pymongo . MongoClient ( ) db = client [ 'podcasts' ] logging . debug ( 'Got the database instance' ) return db