@staticmethod<EOL><INDENT>def deserialize(raw):<DEDENT>
from ofxclient.institution import Institution<EOL>institution = Institution.deserialize(raw['<STR_LIT>'])<EOL>del raw['<STR_LIT>']<EOL>del raw['<STR_LIT>']<EOL>if '<STR_LIT>' in raw:<EOL><INDENT>a = BrokerageAccount(institution=institution, **raw)<EOL><DEDENT>elif '<STR_LIT>' in raw:<EOL><INDENT>a = BankAccount(institution=institution, **raw)<EOL><DEDENT>else:<EOL><INDENT>a = CreditCardAccount(institution=institution, **raw)<EOL><DEDENT>return a<EOL>
Instantiate :py:class:`ofxclient.Account` subclass from dictionary

        :param raw: serilized Account
        :param type: dict as  given by :py:meth:`~ofxclient.Account.serialize`
        :rtype: subclass of :py:class:`ofxclient.Account`