@publisher(['animation', 'previs', 'shot previs'], publisher_type=POST_PUBLISHER_TYPE)
def generate_playblast():
    import anima
    from anima import utils
    reload(anima)
    reload(utils)
    reload(auxiliary)

    # before doing a playblast set all shot handles to 48
    for shot in pm.ls(type='shot'):
        if shot.hasAttr('handle'):
            shot.handle.set(0)

    sp = auxiliary.Playblaster()
    sp.batch_mode = True
    video_files = sp.playblast()
    sp.upload_outputs(sp.version, video_files)

    # revert the handles to 0
    # for shot in pm.ls(type='shot'):
    #     if shot.hasAttr('handle'):
    #         shot.handle.set(0)
small_stmt_list_list : SEMI small_stmt
dataset/ETHPy150Open eoyilmaz/anima/anima/env/mayaEnv/publish.py/generate_playblast--crossover with--dataset/ETHPy150Open nucleic/enaml/enaml/core/parser.py/p_small_stmt_list_list1