Hi,
I came across this thread while working on station keeping with the Python wrapper.
To write a predicate, a Python class must be written, and it has to inherit from the PythonEnablingPredicate
class. An example can be found in this thread: ImpulseManeuver on PositionAngle with Python wrapper - #4 by petrus.hyvonen
Cheers
Clément