def set_handle(self, value):
        sm = core.ls('sequenceManager1')[0]
        seq1 = sm.sequences.get()[0]
        seq1.set_shot_handles(value)
sets handles from UI
dataset/ETHPy150Open eoyilmaz/anima/anima/env/mayaEnv/ui.py/PrevisUI.set_handle