def get(self, key, default=None):
if self.in_memory:<EOL><INDENT>return self._memory_db.get(key, default)<EOL><DEDENT>else:<EOL><INDENT>db = self._read_file()<EOL>return db.get(key, default)<EOL><DEDENT>
Get key value, return default if key doesn't exist