def __getitem__(self, field):
        """ :see::meth:RedisMap.__getitem__ """
        try:
            result = self._loads(self._client.hget(self.key_prefix, field))
            assert result is not None
            return result
        except (AssertionError, TypeError):
            raise KeyError('Key `{}` not in `{}`'.format(
                field, self.key_prefix))
def __getitem__ ( self , field ) : try : result = self . _loads ( self . _client . hget ( self . key_prefix , field ) ) assert result is not None return result except ( AssertionError , TypeError ) : raise KeyError ( 'Key `{}` not in `{}`' . format ( field , self . key_prefix ) )
:see::meth:RedisMap.__getitem__