@staticmethod<EOL><INDENT>def fromdict(d):<DEDENT>
rev = Revision(<EOL>key=d["<STR_LIT:key>"],<EOL>author_name=d["<STR_LIT>"],<EOL>author_email=d["<STR_LIT>"],<EOL>date=d["<STR_LIT:date>"],<EOL>message=d["<STR_LIT:message>"],<EOL>)<EOL>operators = d["<STR_LIT>"]<EOL>return IndexedRevision(revision=rev, operators=operators)<EOL>
Instantiate from a dictionary.