def get_anim_curves(node):
    # list all connections to the node
    connected_nodes = pm.listConnections(node)

    anim_curve = "animCurve"

    return_list = []
    for cNode in connected_nodes:
        if pm.nodeType(cNode)[0:len(anim_curve)] == anim_curve:
            return_list.append(cNode)

    return return_list
returns all the animation curves connected to the
dataset/ETHPy150Open eoyilmaz/anima/anima/env/mayaEnv/auxiliary.py/get_anim_curves