def __init__(self, db, timeout=<NUM_LIT>, collection='<STR_LIT>'):
Cache.__init__(self, timeout)<EOL>self.timeout = timeout<EOL>self.col = db[collection]<EOL>self.col.create_index('<STR_LIT>', expireAfterSeconds=timeout)<EOL>
Should receive a "database" cursor from pymongo.