def __init__(self, obj, get_method, set_method=None):
self._get = functools.partial(obj.request, get_method)<EOL>self._set = None<EOL>if set_method:<EOL><INDENT>self._set = functools.partial(obj.request, set_method)<EOL><DEDENT>
Initialize a RemoteMap with session, getter/setter.