Return a byte string representation or raise a KeyError.
(self, key)
| 95 | return email.message_from_bytes(self.get_bytes(key)).as_string() |
| 96 | |
| 97 | def get_bytes(self, key): |
| 98 | """Return a byte string representation or raise a KeyError.""" |
| 99 | raise NotImplementedError('Method must be implemented by subclass') |
| 100 | |
| 101 | def get_file(self, key): |
| 102 | """Return a file-like representation or raise a KeyError.""" |
no outgoing calls