spark-instrumented-optimizer/python/test_support/userlibrary.py

8 lines
158 B
Python
Executable file

"""
Used to test shipping of code depenencies with SparkContext.addPyFile().
"""
class UserClass(object):
def hello(self):
return "Hello World!"