def _recipient_from_cloud(self, recipient, field=None):
if recipient:<EOL><INDENT>recipient = recipient.get(self._cc('<STR_LIT>'),<EOL>recipient if isinstance(recipient,<EOL>dict) else {})<EOL>address = recipient.get(self._cc('<STR_LIT:address>'), '<STR_LIT>')<EOL>name = recipient.get(self._cc('<STR_LIT:name>'), '<STR_LIT>')<EOL>return Recipient(address=address, name=name, parent=self,<EOL>field=field)<EOL><DEDENT>else:<EOL><INDENT>return Recipient()<EOL><DEDENT>
Transform a recipient from cloud data to object data