def getAsString()

in sparkey/__init__.py [0:0]


    def getAsString(self, key):
        """Retrieve the value associated with the key

        @param key: type must be bytes or string

        @returns: a string representing the value associated with the key, or None if the
                  key does not exist.
        """
        return _to_str(self.get(key), "value")