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

8 lines
158 B
Python
Raw Normal View History

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