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