How Remove Approval, If Requester = Approver

How Remove Approval, If Requester = Approver

Hi guys.
I knew it's exist in the newest version. But I wondering to know how handle it by python script.
I want to know how return role ($DEPARTMENT_APPROVER$) to username (John Smith) in python script.

My need:
user = requestObj['REQUESTER']
approver = ?????
if user == approver:
   remove approval

                  New to ADSelfService Plus?