def kvlclient(self):
        '''Return a thread local ``kvlayer`` client.'''
        if self._kvlclient is None:
            self._kvlclient = kvlayer.client()
        return self._kvlclient
Return a thread local ``kvlayer`` client.