Python Loop Through List Of Functions In Oracle