Get the value for a specific key in a specific dictionary.

        If `include_priority` is false (default), returns the value
        for that key, or `default` (defaults to :const:`None`) if it
        is absent.  If `include_priority` is true, returns a pair of
        the value and its priority, or of `default` and :const:`None`.

        This does not use or enforce the session lock, and is read-only,
        but inconsistent results are conceivably possible if the caller
        does not hold the lock and `include_priority` is set.

        :param str dict_name: name of dictionary to query
        :param str key: key in dictionary to query
        :param default: default value if `key` is absent
        :param bool include_priority: include score in results
        :return: value from dictionary, or pair of value and priority

def get(self, dict_name, key, default=None, include_priority=False):
        '''Get the value for a specific key in a specific dictionary.

        If `include_priority` is false (default), returns the value
        for that key, or `default` (defaults to :const:`None`) if it
        is absent.  If `include_priority` is true, returns a pair of
        the value and its priority, or of `default` and :const:`None`.

        This does not use or enforce the session lock, and is read-only,
        but inconsistent results are conceivably possible if the caller
        does not hold the lock and `include_priority` is set.

        :param str dict_name: name of dictionary to query
        :param str key: key in dictionary to query
        :param default: default value if `key` is absent
        :param bool include_priority: include score in results
        :return: value from dictionary, or pair of value and priority

        '''
        dict_name = self._namespace(dict_name)
        key = self._encode(key)
        conn = redis.Redis(connection_pool=self.pool)
        val = conn.hget(dict_name, key)
        if val is None:
            _val = default
        else:
            _val = self._decode(val)
        if include_priority:
            if val is not None:
                priority = conn.zscore(dict_name + 'keys', key)
                return _val, priority
            else:
                return _val, None
        return _val