in components/processing/libs/processor-msg/src/processors/msg/msg_generator.py [0:0]
def get_attachments(self):
att = dict()
# Attachments (Excel)
for fname in self.fake.words(self.fake.random_int(min=0, max=4)):
att[f"{fname}.xlsx"] = self.xlsx_generator.to_bytes()
# Attachments (MSG)
for fname in self.fake.words(self.fake.random_int(min=0, max=1)):
att[f"{fname}.msg"] = self.msg_generator.to_bytes()
return att