Return a byte string representation or raise a KeyError.
(self, key)
| 88 | return email.message_from_bytes(self.get_bytes(key)).as_string() |
| 89 | |
| 90 | def get_bytes(self, key): |
| 91 | """Return a byte string representation or raise a KeyError.""" |
| 92 | raise NotImplementedError('Method must be implemented by subclass') |
| 93 | |
| 94 | def get_file(self, key): |
| 95 | """Return a file-like representation or raise a KeyError.""" |
no outgoing calls