Update Developer Guide - DSS Messaging Channel Send()

LucOBrien
LucOBrien Dataiku DSS Core Designer, Dataiku DSS Adv Designer, Registered Posts: 23 ✭✭✭✭

Specifically looking at this page: https://developer.dataiku.com/latest/api-reference/python/messaging-channels.html#dataikuapi.dss.messaging_channel.DSSMailMessagingChannel.send

image.png

The “append” method for a list only allows for one argument, whereas the script above is trying to provide 3.

My team and I recommend adding in a set of simple square brackets around the arguments within the append method for the subsequent steps in the “send” method to work correctly (found in github).

image.png

Doing this simple change allowed us to run the sample script from the guide after instantiating all needed variables.

Happy to answer any questions or provide context!

2
2 votes

New · Last Updated

Setup Info
    Tags
      Help me…