def decode_dict(obj: dict) -> dict:
    """
    This function simply parses a dict from the Redis database
    and decode every value.

    returns: dict
    """
    return {key.decode("utf-8"): val.decode("utf-8")
            for key, val in obj.items()}