Is there a way to retrieve the uploaded attachment linked to an object from a dataset in a python transform? I notice the stored attachment on upload is just a string of some rid (e.g. ri.attachments.main.attachment.f9f175bd-8143-4b8d-b972-abc298d85cc7
).
I can see the actual attachment in Object explorer, but I need to do logic with it in transforms.
is there a way I can fetch the attachment with the rid in a python transform? Something like:
attachments = retrieve_attachment(df["attachment"])
... #do stuff w/ attachments
Note: the attachments are excel files and/or csv files.