def attachment_from_string(cls, value): return Attachment(data=value)
def return_binary_data(): return Attachment(data=''.join([chr(i) for i in range(256)]))