(self, body: str)
create a comment on the specified `pr_number` with the given `body` as text.
create a comment on the specified `pr_number` with the given `body` as text.
create a comment on the specified pr_number with the given body as text .
async def create_comment(self, body: str) -> None:
        """
        create a comment on the specified `pr_number` with the given `body` as text.
        """
        self.log.info("create_comment", body=body)
        async with self.client(
            installation_id=self.install, owner=self.owner, repo=self.repo
        ) as api_client:
            res = await api_client.create_comment(body=body, pull_number=self.number)
            try:
                res.raise_for_status()
            except HTTPError:
                self.log.warning("failed to create comment", res=res, exc_info=True)
async def create_comment ( self , body : str ) -> None : self . log . info ( "create_comment" , body = body ) async with self . client ( installation_id = self . install , owner = self . owner , repo = self . repo ) as api_client : res = await api_client . create_comment ( body = body , pull_number = self . number ) try : res . raise_for_status ( ) except HTTPError : self . log . warning ( "failed to create comment" , res = res , exc_info = True )