Python Fbx SDK How to use FbxAnimCurveFilterKeyReducer?

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

Here is an example about FbxAnimCurveFilterScale:

filter = FbxAnimCurveFilterScale()
filter.SetScale(self.scaleFactor)
for curveNode in animCurveNode:
         filter.Apply(curveNode)