I have one AWS glue pyspark script for example scriptA.py. In this script I have defined few generic functions like readSourceData()
def readSourceData(parameter1, parameter2):
//logic of function
Now I want to use this generic function in my secong glue pyspark script scriptB.py.
I have many such generic functions. How can I import these functions and use them in other scripts?