def get_messages(self, domain):
if domain not in self.domains:<EOL><INDENT>raise ValueError('<STR_LIT>'.format(domain))<EOL><DEDENT>if domain not in self.messages or '<STR_LIT:all>' not in self.messages[domain]:<EOL><INDENT>self._process_domain(domain)<EOL><DEDENT>return self.messages[domain]['<STR_LIT:all>']<EOL>
Returns all valid messages after operation.
@type domain: str
@rtype: dict