get registrationName of filter object

Hello,

how can one get the registrationName of a filter? or the name of the filter on the pipeline if it is a different thing from registrationName.

thanks

okey, this should give what I was looking for:

[k for (k, v) in GetSources().items() if v == filter][0][0]

I imagine that there is a cleaner way, but at least it works (y)