tasks/libs/common/github_api.py
def create_pr(self, pr_title, pr_body, base_branch, target_branch):
        """
        Creates a PR in the given Github repository.
        """

        path = f"/repos/{self.repository}/pulls"
        data = json.dumps({"head": target_branch, "base": base_branch, "title": pr_title, "body": pr_body})
        return self.make_request(path, method="POST", json_output=True, data=data)

        Creates a PR in the given Github repository.
        
Creates a PR in the given Github repository.
Creates a PR in the given Github repository .
def create_pr(self, pr_title, pr_body, base_branch, target_branch):
        path = f"/repos/{self.repository}/pulls"
        data = json.dumps({"head": target_branch, "base": base_branch, "title": pr_title, "body": pr_body})
        return self.make_request(path, method="POST", json_output=True, data=data)
def create_pr ( self , pr_title , pr_body , base_branch , target_branch ) : path = f"/repos/{self.repository}/pulls" data = json . dumps ( { "head" : target_branch , "base" : base_branch , "title" : pr_title , "body" : pr_body } ) return self . make_request ( path , method = "POST" , json_output = True , data = data )
Creates a PR in the given Github repository.
Creates a PR in the given Github repository .
"""
        Creates a PR in the given Github repository.
        """
self
pr_title
pr_body
base_branch
target_branch