def from_dict(cls, d):
        """
        Invokes
        """
        entry_type = d["entry_type"]
        if entry_type == "Ion":
            entry = IonEntry.from_dict(d["entry"])
        else:
            entry = PDEntry.from_dict(d["entry"])
        entry_id = d["entry_id"]
        concentration = d["concentration"]
        return PourbaixEntry(entry, entry_id, concentration)
def from_dict ( cls , d ) : entry_type = d [ "entry_type" ] if entry_type == "Ion" : entry = IonEntry . from_dict ( d [ "entry" ] ) else : entry = PDEntry . from_dict ( d [ "entry" ] ) entry_id = d [ "entry_id" ] concentration = d [ "concentration" ] return PourbaixEntry ( entry , entry_id , concentration )
Invokes