Ray for parallelizing python functions

I have a function which has to be run for a list of different input values. So I want to parallelly run the function on all the input values. Now the problem is my function is defined in a different file and the input values to this function are being generated in a different file. So how can I incorporate parallel processing across different files?