Python Fbx SDK How to use FbxAnimCurveFilterKeyReducer?

pipeline
python
rigging
maya
fbx

#1

Hi,
I can’t find an example of how to use FbxAnimCurveFilterKeyReducer.Apply()
What I try and didn’t work is:

stackClassId = FbxAnimCurveNode.ClassId
curves = self.get_class_nodes(stackClassId)
for curve in curves:
        FbxAnimCurveFilterKeyReducer.Apply(curve)

Thanks!
-Alex