def from_dict(cls, d):
        """
        Creates a TransformedStructure from a dict.
        """
        s = Structure.from_dict(d)
        return cls(s, history=d["history"],
                   other_parameters=d.get("other_parameters", None))
def from_dict ( cls , d ) : s = Structure . from_dict ( d ) return cls ( s , history = d [ "history" ] , other_parameters = d . get ( "other_parameters" , None ) )
Creates a TransformedStructure from a dict.