class Test: tp = params.TupleParam("tp", default=(0, 0, 0), optional=True) tp3 = params.TupleParam("tp3", default=(0, 0, 0), length=3)
class Test(object): tp = params.TupleParam('tp', default=(0, 0, 0)) tp3 = params.TupleParam('tp3', default=(0, 0, 0), length=3)
class Test: tp = params.TupleParam("tp", default=(0, 0, 0)) tp3 = params.TupleParam("tp3", default=(0, 0, 0), length=3)