Renaming Dataset Attachment (Python Scenario)

Level 1
Renaming Dataset Attachment (Python Scenario)

I am looking to change the name of a dataset attachment (.xlsx file) sent in an email using a python scenario.

I am able to alter the file name by first publishing to a managed folder, then attaching. Wondering if there is simpler way to rename the dataset file.

Operating system used: Windows

1 Reply
Developer Advocate

Hi @d_g , thanks for your question. Could you attach the code snippet that you're using?

Also, what do you mean by Python scenario.. could you be more specific? ๐Ÿ˜„

Are you using a custom scenario (basically a Python script) or a step in a scenario that executes some Python code? Here's the documentation that explains the difference:



0 Kudos



Setup info

A banner prompting to get Dataiku