MCPcopy Create free account
hub / github.com/DataDog/datadog-agent / create_pr

Method create_pr

tasks/libs/common/github_api.py:50–54  ·  view source on GitHub ↗

Creates a PR in the given Github repository.

(self, pr_title, pr_body, base_branch, target_branch)

Source from the content-addressed store, hash-verified

48 raise e
49
50 def create_pr(self, pr_title, pr_body, base_branch, target_branch):
51 """
52 Creates a PR in the given Github repository.
53 """
54 return self._repository.create_pull(title=pr_title, body=pr_body, base=base_branch, head=target_branch)
55
56 def update_pr(self, pull_number, milestone_number, labels):
57 """

Callers 1

create_rcFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected