def convert_where_clause(clause: dict) -> str:
    """
    Convert a dictionary of clauses to a string for use in a query

    Parameters
    ----------
    clause : dict
        Dictionary of clauses

    Returns
    -------
    str
        A string representation of the clauses

    """
    out = "{"
    for key in clause.keys():
        out += "{}: ".format(key)
        #If the type of the right hand side is string add the string quotes around it
        if type(clause[key]) == str:
            out += '"{}"'.format(clause[key])
        else:
            out += "{}".format(clause[key])
        out += ","
    out += "}"
    return out