#NEWLINE# def __init__( self , database , use_compression = True , spider = None , **kwargs ) : #NEWLINE# #INDENT# self . spider = spider #NEWLINE# self . db = pymongo . MongoClient ( ** database ) [ database ] #NEWLINE# self . use_compression = use_compression