(self, *, pull_number: int)
https://developer.github.com/v3/pulls/reviews/#create-a-pull-request-review
https://developer.github.com/v3/pulls/reviews/#create-a-pull-request-review
https : // developer . github . com / v3 / pulls / reviews / #create - a - pull - request - review
async def approve_pull_request(self, *, pull_number: int) -> http.Response:
        """
        https://developer.github.com/v3/pulls/reviews/#create-a-pull-request-review
        """
        headers = await get_headers(
            session=self.session, installation_id=self.installation_id
        )
        body = dict(event="APPROVE")
        async with self.throttler:
            return await self.session.post(
                conf.v3_url(
                    f"/repos/{self.owner}/{self.repo}/pulls/{pull_number}/reviews"
                ),
                headers=headers,
                json=body,
            )
async def approve_pull_request ( self , * , pull_number : int ) -> http . Response : headers = await get_headers ( session = self . session , installation_id = self . installation_id ) body = dict ( event = "APPROVE" ) async with self . throttler : return await self . session . post ( conf . v3_url ( f"/repos/{self.owner}/{self.repo}/pulls/{pull_number}/reviews" ) , headers = headers , json = body , )