This message was deleted.
# python
s
This message was deleted.
w
I believe Python used to support array restructuring in parameter lists, but removed it. See for example https://stackoverflow.com/questions/55940225/array-destructuring-in-python. You can still have the first line of your lambda do a restructuring assignment in order to get “good” names for the array elements.
b
I see. So which is the more "pulumic" way to handle that? chained lambdas or positional arguments from a list? we are thinking about how to structure projects and setting some standards for a team and it would be good to have "one way" that people can expect.