Noticed while working on another codegen related task. Python apply
calls weren't being generated correctly, they looked valid but they
didn't actually execute. They would fail with an error that the lambda
had been called without all required positional arguments.
This fixes it to use `all` in dictionary form and to index into the
dictionary in the lambda body.