def constructCumlusWorker(*args): # boost::python wrapper for CumulusWorker can't handle a None # eventHandler. We must call the overload without that argument. if args[-1] is None: args = args[:-1] return CumulusNative.CumulusWorker(*args)