Compile tested, seems OK.
a PR from OP to do this got merged over a week ago; looks like the bug link was missing and thus this bug didn't get closed and the PR didn't get attention for a time. In any case, it's done now. I'm not sure how it was supposed to actually work at runtime without a gst-python 3.7 support (but that was added too separately on another request), but whatever.