code: def update_release_approval(self, approval, project, approval_id):
          
          route_values = {}
          if project is not None:
              route_values['project'] = self._serialize.url('project', project, 'str')
          if approval_id is not None:
              route_values['approvalId'] = self._serialize.url('approval_id', approval_id, 'int')
          content = self._serialize.body(approval, 'ReleaseApproval')
          response = self._send(http_method='PATCH',
                                location_id='9328e074-59fb-465a-89d9-b09c82ee5109',
                                version='5.0',
                                route_values=route_values,
                                content=content)
          return self._deserialize('ReleaseApproval', response)
docs: UpdateReleaseApproval.
          Update status of an approval
          :param :class:`<ReleaseApproval> <azure.devops.v5_0.release.models.ReleaseApproval>` approval: ReleaseApproval object having status, approver and comments.
          :param str project: Project ID or project name
          :param int approval_id: Id of the approval.
          :rtype: :class:`<ReleaseApproval> <azure.devops.v5_0.release.models.ReleaseApproval>`