def __init__(self, key, context, **kwargs):
super(IndexAPIRLPersistence, self).__init__(key, context)<EOL>class RamKV:<EOL><INDENT>"""<STR_LIT>"""<EOL>def __init__(self):<EOL><INDENT>self._kv = dict()<EOL><DEDENT>def get_kv(self, key):<EOL><INDENT>return self._kv.get(key)<EOL><DEDENT>def set_kv(self, key, value):<EOL><INDENT>self._kv[key] = value<EOL><DEDENT><DEDENT>self.index = kwargs.get('<STR_LIT:index>', RamKV())<EOL>
:param key: