| D | propose_ghstack_orig_pr.py | 4 # This source code is licensed under the BSD-style license found in the 15 from github.Repository import Repository 23 "--repo", 29 "--ref", 37 def extract_stack_from_body(pr_body: str) -> List[int]: 38 """Extracts a list of PR numbers from a ghexport-generated PR body. 43 # Expected format. The `__->__` could appear on any line. Stop parsing 48 * __->__ #2 71 def get_pr_stack_from_number(ref: str, repo: Repository) -> List[int]: argument 89 def create_prs_for_orig_branch(pr_stack: List[int], repo: Repository): argument [all …]
|