def get()

in sparkey/__init__.py [0:0]


    def get(self, key):
        """Performs a hash lookup of a key.

        Only finds things that were flushed to the hash.

        @param key: type must be bytes or string

        @returns: bytes representing the value associated with the key, or None if the
                  key does not exist in the hash.

        """
        self._assert_open()
        return self._init_reader().get(key)