Update Developer Guide - DSS Messaging Channel Send()
Specifically looking at this page: https://developer.dataiku.com/latest/api-reference/python/messaging-channels.html#dataikuapi.dss.messaging_channel.DSSMailMessagingChannel.send
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).
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!
Comments
-
Hi @LucOBrien,
This thread just came into my knowledge, sorry for taking so long to answer you.
Indeed, the docstring is buggy; we will fix it as soon as possible.
Have a good day


