I am trying to learn some Scala by "rewriting" some of my PySpark code. I have a list of data-sources that all have a list of transforms that needs to be applied.