1def foo1(context):
2    context.write("this is foo1.")
3    return ""
4
5
6def foo2(context, x):
7    context.write("this is foo2, x is " + x)
8    return ""
9